Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • @EqualsAndHashCode are mostly fine (don't forget callSuper=true if extending another class!).
  • @Getter / @Setter should be avoided in classes which are not plain POJOs (usually configured classes). If you need to use it, do consider correct access level.
  • @SneakyThrows should be avoided in best effort.

...