Skip to content

Commit

Permalink
spring-projects#318 - Remove superfluous @EqualsAndHashCode annotation.
Browse files Browse the repository at this point in the history
Address does not require to be annotated with @EqualsAndHashCode as these settings are inherited from @DaTa.
  • Loading branch information
mp911de committed Nov 6, 2017
1 parent c32cedb commit fec9bb4
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
package example.springdata.redis.repositories;

import lombok.Data;
import lombok.EqualsAndHashCode;

import org.springframework.data.geo.Point;
import org.springframework.data.redis.core.index.GeoIndexed;
Expand All @@ -27,7 +26,6 @@
* @author Mark Paluch
*/
@Data
@EqualsAndHashCode
class Address {

private @Indexed String city;
Expand Down

0 comments on commit fec9bb4

Please sign in to comment.