Skip to content

Commit fec9bb4

Browse files
committed
spring-projects#318 - Remove superfluous @EqualsAndHashCode annotation.
Address does not require to be annotated with @EqualsAndHashCode as these settings are inherited from @DaTa.
1 parent c32cedb commit fec9bb4

File tree

1 file changed

+0
-2
lines changed
  • redis/repositories/src/main/java/example/springdata/redis/repositories

1 file changed

+0
-2
lines changed

redis/repositories/src/main/java/example/springdata/redis/repositories/Address.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
package example.springdata.redis.repositories;
1717

1818
import lombok.Data;
19-
import lombok.EqualsAndHashCode;
2019

2120
import org.springframework.data.geo.Point;
2221
import org.springframework.data.redis.core.index.GeoIndexed;
@@ -27,7 +26,6 @@
2726
* @author Mark Paluch
2827
*/
2928
@Data
30-
@EqualsAndHashCode
3129
class Address {
3230

3331
private @Indexed String city;

0 commit comments

Comments
 (0)