From 83895f2333f5c230548c1051109d005c125774f7 Mon Sep 17 00:00:00 2001 From: Xiang Li Date: Wed, 10 Aug 2016 15:48:37 +0800 Subject: [PATCH] HBASE-16363: Correct javadoc for qualifier length and value length in Cell interface --- hbase-common/src/main/java/org/apache/hadoop/hbase/Cell.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/hbase-common/src/main/java/org/apache/hadoop/hbase/Cell.java b/hbase-common/src/main/java/org/apache/hadoop/hbase/Cell.java index 5673ec9..626f041 100644 --- a/hbase-common/src/main/java/org/apache/hadoop/hbase/Cell.java +++ b/hbase-common/src/main/java/org/apache/hadoop/hbase/Cell.java @@ -106,8 +106,7 @@ public interface Cell { //3) Qualifier /** - * Contiguous raw bytes that may start at any index in the containing array. Max length is - * Short.MAX_VALUE which is 32,767 bytes. + * Contiguous raw bytes that may start at any index in the containing array. * @return The array containing the qualifier bytes. */ byte[] getQualifierArray(); @@ -155,7 +154,7 @@ public interface Cell { /** * Contiguous raw bytes that may start at any index in the containing array. Max length is - * Integer.MAX_VALUE which is 2,147,483,648 bytes. + * Integer.MAX_VALUE which is 2,147,483,647 bytes. * @return The array containing the value bytes. */ byte[] getValueArray(); -- 2.7.4 (Apple Git-66)