diff --git a/merlin-sdk/src/main/java/gov/nasa/jpl/aerie/merlin/protocol/types/Duration.java b/merlin-sdk/src/main/java/gov/nasa/jpl/aerie/merlin/protocol/types/Duration.java index 712988c27c..e2ebc5e0de 100644 --- a/merlin-sdk/src/main/java/gov/nasa/jpl/aerie/merlin/protocol/types/Duration.java +++ b/merlin-sdk/src/main/java/gov/nasa/jpl/aerie/merlin/protocol/types/Duration.java @@ -650,4 +650,13 @@ public int compareTo(final Duration other) { return Long.compare(this.micros, other.micros); } + /** + * Delegates to `.equals(other)`. + * + * @deprecated use `.equals` instead. + */ + @Deprecated + public boolean isEqualTo(final Object other) { + return this.equals(other); + } }