Skip to content

Investigate lombok warnings

Summary

Due to the more complex in heritance structure, lombok has started to throw warnings about the generated equals and hashCode implementation. This should be looked into and dealt with.

Possible Fix

Logs

/local/git/walkytalky/src/main/java/nl/tudelft/ewi/walkytalky/dto/ScheduleDto.java:36: warning: Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add '@EqualsAndHashCode(callSuper=false)' to your type. @Data ^ /local/git/walkytalky/src/main/java/nl/tudelft/ewi/walkytalky/dto/UnitPatchDto.java:31: warning: Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add '@EqualsAndHashCode(callSuper=false)' to your type. @Data ^