Skip to content

Commit 5b4a1c4

Browse files
Fixing equals
1 parent 4dafa70 commit 5b4a1c4

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

src/main/java/edu/ie3/datamodel/models/result/ResultEntity.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ public void setTime(ZonedDateTime time) {
4949
public boolean equals(Object o) {
5050
if (this == o) return true;
5151
if (o == null || getClass() != o.getClass()) return false;
52-
if (!super.equals(o)) return false;
5352
ResultEntity that = (ResultEntity) o;
5453
return time.equals(that.time) && inputModel.equals(that.inputModel);
5554
}

src/main/java/edu/ie3/datamodel/models/timeseries/TimeSeriesEntry.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ public V getValue() {
2929
public boolean equals(Object o) {
3030
if (this == o) return true;
3131
if (o == null || getClass() != o.getClass()) return false;
32-
if (!super.equals(o)) return false;
33-
3432
TimeSeriesEntry<?> entry = (TimeSeriesEntry<?>) o;
3533
return value.equals(entry.value);
3634
}

0 commit comments

Comments
 (0)