summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Sohn <matthias.sohn@sap.com>2015-07-17 16:13:57 +0200
committerMatthias Sohn <matthias.sohn@sap.com>2015-07-20 14:09:34 +0200
commitf53306bf2a575b1f91a36b399f9579996b0d8fdc (patch)
tree1ca1e97878721b039936211a5737fbae01ed0f19
parentf8564c760119c5f02bf47aaf80aeee0f439f2d6e (diff)
downloadjgit-f53306bf2a575b1f91a36b399f9579996b0d8fdc.tar.gz
jgit-f53306bf2a575b1f91a36b399f9579996b0d8fdc.zip
Fix typos in javadoc of ObjectId.equals()
Change-Id: Ic2503a2c3c616934d923937fdf8ceb4ae57b7028 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/lib/ObjectId.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/lib/ObjectId.java b/org.eclipse.jgit/src/org/eclipse/jgit/lib/ObjectId.java
index de7e207ac4..4edb38c5df 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/lib/ObjectId.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/lib/ObjectId.java
@@ -111,16 +111,16 @@ public class ObjectId extends AnyObjectId implements Serializable {
}
/**
- * Compare to object identifier byte sequences for equality.
+ * Compare two object identifier byte sequences for equality.
*
* @param firstBuffer
* the first buffer to compare against. Must have at least 20
- * bytes from position ai through the end of the buffer.
+ * bytes from position fi through the end of the buffer.
* @param fi
* first offset within firstBuffer to begin testing.
* @param secondBuffer
- * the second buffer to compare against. Must have at least 2
- * bytes from position bi through the end of the buffer.
+ * the second buffer to compare against. Must have at least 20
+ * bytes from position si through the end of the buffer.
* @param si
* first offset within secondBuffer to begin testing.
* @return true if the two identifiers are the same.