Index: hbase-common/src/main/java/org/apache/hadoop/hbase/KeyValue.java =================================================================== --- hbase-common/src/main/java/org/apache/hadoop/hbase/KeyValue.java (revision 1422037) +++ hbase-common/src/main/java/org/apache/hadoop/hbase/KeyValue.java (working copy) @@ -2317,7 +2317,7 @@ * @param out * @return Length written on stream * @throws IOException - * @see {@link #create(DataInput)} for the inverse function + * @see #create(DataInput) for the inverse function */ public static long write(final KeyValue kv, final DataOutput out) throws IOException { // This is how the old Writables write used to serialize KVs. Need to figure way to make it work for all Index: hbase-common/src/main/java/org/apache/hadoop/hbase/KeyValueTool.java =================================================================== --- hbase-common/src/main/java/org/apache/hadoop/hbase/KeyValueTool.java (revision 1422037) +++ hbase-common/src/main/java/org/apache/hadoop/hbase/KeyValueTool.java (working copy) @@ -189,7 +189,7 @@ * * Remember timestamps are sorted reverse chronologically. * @param in - * @return + * @return privious key */ public static KeyValue previousKey(final KeyValue in) { return KeyValue.createFirstOnRow(CellTool.getRowArray(in), CellTool.getFamilyArray(in), Index: hbase-common/src/main/java/org/apache/hadoop/hbase/util/ByteBufferUtils.java =================================================================== --- hbase-common/src/main/java/org/apache/hadoop/hbase/util/ByteBufferUtils.java (revision 1422037) +++ hbase-common/src/main/java/org/apache/hadoop/hbase/util/ByteBufferUtils.java (working copy) @@ -318,7 +318,7 @@ } } } - + /** * Copy from the InputStream to a new heap ByteBuffer until the InputStream is exhausted. */ @@ -378,7 +378,7 @@ * @param leftOffset Offset in left array. * @param leftLength Length of left array. * @param right Array to be compared. - * @param rightArray Offset in right array. + * @param rightOffset Offset in right array. * @param rightLength Length of right array. */ public static int findCommonPrefix( @@ -402,7 +402,7 @@ * @param lengthLeft Length of the first part. * @param offsetRight Beginning of the second part. * @param lengthRight Length of the second part. - * @return + * @return True if equal */ public static boolean arePartsEqual(ByteBuffer buffer, int offsetLeft, int lengthLeft, Index: hbase-common/src/main/java/org/apache/hadoop/hbase/util/ByteRange.java =================================================================== --- hbase-common/src/main/java/org/apache/hadoop/hbase/util/ByteRange.java (revision 1422037) +++ hbase-common/src/main/java/org/apache/hadoop/hbase/util/ByteRange.java (working copy) @@ -147,7 +147,7 @@ /** * Create a new ByteRange with new backing byte[] and copy the state of this range into the new * range. Copy the hash over if it is already calculated. - * @return + * @return Deep copy */ public ByteRange deepCopy() { ByteRange clone = new ByteRange(deepCopyToNewArray()); @@ -161,7 +161,6 @@ * Wrapper for System.arraycopy. Copy the contents of this range into the provided array. * @param destination Copy to this array * @param destinationOffset First index in the destination array. - * @return void to avoid confusion between which ByteRange should be returned */ public void deepCopyTo(byte[] destination, int destinationOffset) { System.arraycopy(bytes, offset, destination, destinationOffset, length); @@ -174,7 +173,6 @@ * @param copyLength Copy this many bytes * @param destination Copy to this array * @param destinationOffset First index in the destination array. - * @return void to avoid confusion between which ByteRange should be returned */ public void deepCopySubRangeTo(int innerOffset, int copyLength, byte[] destination, int destinationOffset) { Index: hbase-common/src/main/java/org/apache/hbase/Cell.java =================================================================== --- hbase-common/src/main/java/org/apache/hbase/Cell.java (revision 1422037) +++ hbase-common/src/main/java/org/apache/hbase/Cell.java (working copy) @@ -46,7 +46,7 @@ * or debugging code. These should be placed in a sub-interface or the {@link CellTool} class. *
* Cell implements Comparable