Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Bouquet <[email protected]>
  • Loading branch information
bqth29 committed Jan 24, 2025
1 parent b1ae3eb commit e98bd4e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public boolean equals(Object o) {
Optional<Contingency> oContingency = state.getContingency();
return state.getInstant().equals(instant)
&& oContingency.map(value -> value.equals(contingency)).orElseGet(() -> contingency == null)
&& state.getTimestamp().equals(Optional.of(timestamp));
&& state.getTimestamp().equals(Optional.ofNullable(timestamp));
}

@Override
Expand Down

0 comments on commit e98bd4e

Please sign in to comment.