[ 
https://issues.apache.org/jira/browse/HBASE-19981?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16363285#comment-16363285
 ] 

Hudson commented on HBASE-19981:
--------------------------------

SUCCESS: Integrated in Jenkins build HBase-1.2-IT #1069 (See 
[https://builds.apache.org/job/HBase-1.2-IT/1069/])
HBASE-19981 Boolean#getBoolean is used to parse value (tedyu: rev 
0f3bf54899e4d8927f76f9e9515e774590ad56eb)
* (edit) 
hbase-client/src/main/java/org/apache/hadoop/hbase/HColumnDescriptor.java


> Boolean#getBoolean is used to parse value
> -----------------------------------------
>
>                 Key: HBASE-19981
>                 URL: https://issues.apache.org/jira/browse/HBASE-19981
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: Janos Gub
>            Priority: Major
>             Fix For: 1.3.2, 1.2.7, 1.4.2
>
>         Attachments: HBASE-19981.branch-1.001.patch
>
>
> In HColumnDescriptor of branch-1:
> {code}
>           value.set(Bytes.toBytes(
>               Boolean.getBoolean(Bytes.toString(value.get()))
> {code}
> According to 
> https://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html#getBoolean(java.lang.String):
> {code}
> Returns true if and only if the system property named by the argument exists 
> and is equal to the string "true"
> {code}
> This was not the intention of the quoted code.
> This was discovered by Fortify.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to