#318 - Remove superfluous @EqualsAndHashCode annotation.

Address does not require to be annotated with @EqualsAndHashCode as these settings are inherited from @Data.
This commit is contained in:
Mark Paluch
2017-11-06 08:19:37 +01:00
parent c32cedb97b
commit fec9bb4729

View File

@@ -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;
@@ -27,7 +26,6 @@ import org.springframework.data.redis.core.index.Indexed;
* @author Mark Paluch
*/
@Data
@EqualsAndHashCode
class Address {
private @Indexed String city;