HBASE-7000 Fix the "INT_VACUOUS_COMPARISON" WARNING in KeyValue class (Liang Xie)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1399740 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
1edf2d3bf1
commit
427684e09a
|
@ -277,7 +277,7 @@ public final class HConstants {
|
|||
public static final int DEFAULT_SIZE_RESERVATION_BLOCK = 1024 * 1024 * 5;
|
||||
|
||||
/** Maximum value length, enforced on KeyValue construction */
|
||||
public static final int MAXIMUM_VALUE_LENGTH = Integer.MAX_VALUE;
|
||||
public static final int MAXIMUM_VALUE_LENGTH = Integer.MAX_VALUE - 1;
|
||||
|
||||
/** name of the file for unique cluster ID */
|
||||
public static final String CLUSTER_ID_FILE_NAME = "hbase.id";
|
||||
|
|
Loading…
Reference in New Issue