Repository: hbase
Updated Branches:
  refs/heads/branch-1.3 e36dca55b -> e6dda8ea6


HBASE-19981 Boolean#getBoolean is used to parse value

Signed-off-by: tedyu <yuzhih...@gmail.com>


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/e6dda8ea
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/e6dda8ea
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/e6dda8ea

Branch: refs/heads/branch-1.3
Commit: e6dda8ea6db4e50e3bc3e93a72dc06f433a75b58
Parents: e36dca5
Author: Janos Gub <j...@hortonworks.com>
Authored: Mon Feb 12 18:35:14 2018 +0100
Committer: tedyu <yuzhih...@gmail.com>
Committed: Tue Feb 13 16:31:49 2018 -0800

----------------------------------------------------------------------
 .../src/main/java/org/apache/hadoop/hbase/HColumnDescriptor.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/e6dda8ea/hbase-client/src/main/java/org/apache/hadoop/hbase/HColumnDescriptor.java
----------------------------------------------------------------------
diff --git 
a/hbase-client/src/main/java/org/apache/hadoop/hbase/HColumnDescriptor.java 
b/hbase-client/src/main/java/org/apache/hadoop/hbase/HColumnDescriptor.java
index 64366d4..532da5b 100644
--- a/hbase-client/src/main/java/org/apache/hadoop/hbase/HColumnDescriptor.java
+++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/HColumnDescriptor.java
@@ -1332,7 +1332,7 @@ public class HColumnDescriptor implements 
WritableComparable<HColumnDescriptor>
         // in version 8, the BloomFilter setting changed from bool to enum
         if (version < 8 && Bytes.toString(key.get()).equals(BLOOMFILTER)) {
           value.set(Bytes.toBytes(
-              Boolean.getBoolean(Bytes.toString(value.get()))
+              Boolean.parseBoolean(Bytes.toString(value.get()))
                 ? BloomType.ROW.toString()
                 : BloomType.NONE.toString()));
         }

Reply via email to