summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Sohn <matthias.sohn@sap.com>2024-08-30 17:21:51 +0200
committerMatthias Sohn <matthias.sohn@sap.com>2024-09-03 16:11:03 +0200
commit63348b21dbfdc002e48c92a4274576e8d1b85f1c (patch)
treeaa19a978fd66463028ee6af5f61a5c501412cfd5
parentec97acb808f0685ca3e09389301bf1d3c606f607 (diff)
downloadjgit-63348b21dbfdc002e48c92a4274576e8d1b85f1c.tar.gz
jgit-63348b21dbfdc002e48c92a4274576e8d1b85f1c.zip
Remove deprecated static #equals(AnyObjectId, AnyObjectId) method
Change-Id: I72544d2b3c85b8f96c2b8f94b86fb9b362f09475
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/lib/AnyObjectId.java17
1 files changed, 0 insertions, 17 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/lib/AnyObjectId.java b/org.eclipse.jgit/src/org/eclipse/jgit/lib/AnyObjectId.java
index c58133adab..f742e993a0 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/lib/AnyObjectId.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/lib/AnyObjectId.java
@@ -35,23 +35,6 @@ public abstract class AnyObjectId implements Comparable<AnyObjectId> {
* @param secondObjectId
* the second identifier to compare. Must not be null.
* @return true if the two identifiers are the same.
- * @deprecated use {@link #isEqual(AnyObjectId, AnyObjectId)} instead
- */
- @Deprecated
- @SuppressWarnings("AmbiguousMethodReference")
- public static boolean equals(final AnyObjectId firstObjectId,
- final AnyObjectId secondObjectId) {
- return isEqual(firstObjectId, secondObjectId);
- }
-
- /**
- * Compare two object identifier byte sequences for equality.
- *
- * @param firstObjectId
- * the first identifier to compare. Must not be null.
- * @param secondObjectId
- * the second identifier to compare. Must not be null.
- * @return true if the two identifiers are the same.
* @since 5.4
*/
public static boolean isEqual(final AnyObjectId firstObjectId,