[Minor] Fix ITimeVariable.equals() override

This commit is contained in:
Robert von Burg 2023-04-05 21:31:10 +02:00
parent 4773bd7a4c
commit cb16d74e7a
Signed by: eitch
GPG Key ID: 75DB9C85C74331F7
2 changed files with 2 additions and 6 deletions

View File

@ -156,5 +156,6 @@ public interface ITimeVariable<T extends IValue> {
* Returns true if the given {@link ITimeVariable} is equal to this {@link ITimeVariable} by validating that the
* values {@link IValue IValues} have the same time and actual value
*/
boolean equals(ITimeVariable<T> other);
@Override
boolean equals(Object other);
}

View File

@ -173,11 +173,6 @@ public class TimeVariable<T extends IValue> implements ITimeVariable<T>, Seriali
}
}
@Override
public boolean equals(ITimeVariable<T> o) {
return equals((Object) o);
}
@Override
public boolean equals(Object o) {
if (this == o)