File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
src/main/java/edu/ie3/datamodel/models Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6
6
7
7
## [ Unreleased/Snapshot]
8
8
9
+ ### Fixed
10
+ - Fixed ` equals ` of ` ResultEntity ` and ` TimeSeriesEntry ` [ #1037 ] ( https://github.com/ie3-institute/PowerSystemDataModel/issues/1037 )
11
+
9
12
## [ 5.0.0] - 2024-03-06
10
13
11
14
### Added
Original file line number Diff line number Diff line change @@ -49,7 +49,6 @@ public void setTime(ZonedDateTime time) {
49
49
public boolean equals (Object o ) {
50
50
if (this == o ) return true ;
51
51
if (o == null || getClass () != o .getClass ()) return false ;
52
- if (!super .equals (o )) return false ;
53
52
ResultEntity that = (ResultEntity ) o ;
54
53
return time .equals (that .time ) && inputModel .equals (that .inputModel );
55
54
}
Original file line number Diff line number Diff line change @@ -29,8 +29,6 @@ public V getValue() {
29
29
public boolean equals (Object o ) {
30
30
if (this == o ) return true ;
31
31
if (o == null || getClass () != o .getClass ()) return false ;
32
- if (!super .equals (o )) return false ;
33
-
34
32
TimeSeriesEntry <?> entry = (TimeSeriesEntry <?>) o ;
35
33
return value .equals (entry .value );
36
34
}
You can’t perform that action at this time.
0 commit comments