]> source.dussan.org Git - jgit.git/commitdiff
Fix typos in javadoc of ObjectId.equals() 75/52175/2
authorMatthias Sohn <matthias.sohn@sap.com>
Fri, 17 Jul 2015 14:13:57 +0000 (16:13 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Mon, 20 Jul 2015 12:09:34 +0000 (14:09 +0200)
Change-Id: Ic2503a2c3c616934d923937fdf8ceb4ae57b7028
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.jgit/src/org/eclipse/jgit/lib/ObjectId.java

index de7e207ac4d447ee02704975ca0a4228111c42d7..4edb38c5df02c95787254fe2d43b80a4b14b2998 100644 (file)
@@ -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.