bugfix: persist4j

This commit is contained in:
devezhao-mbp 2020-06-16 22:57:18 +08:00
parent fd2294ce5e
commit 2c87f9cdd7
2 changed files with 2 additions and 5 deletions

View file

@ -160,7 +160,7 @@
<dependency>
<groupId>com.github.devezhao</groupId>
<artifactId>persist4j</artifactId>
<version>1.4.2</version>
<version>1.4.3</version>
</dependency>
<dependency>
<groupId>junit</groupId>

View file

@ -84,10 +84,7 @@ public class Axis {
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
Axis axis = (Axis) o;
return field.equals(axis.field) &&
calc == axis.calc &&
Objects.equals(parentField, axis.parentField);
return o.hashCode() == hashCode();
}
@Override