[ 
https://issues.apache.org/jira/browse/HBASE-7601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jean-Marc Spaggiari updated HBASE-7601:
---------------------------------------

    Status: Patch Available  (was: Open)

Update version with additionnal brackets attached.

Regarding the NullComparator, here is the compareTo code:
{code}
  @Override
  public int compareTo(byte[] value) {
    return value != null ? 1 : 0;
  }
{code}

It's return equels only if the given byte array is null. So I have replicated 
the same behaviour on the equalsTo methode.

I have more modifications coming to fix other findbug issues. I will try to get 
them down one by one...
                
> Fix 8 remaining EQ findbug warnings from hbase-server.
> ------------------------------------------------------
>
>                 Key: HBASE-7601
>                 URL: https://issues.apache.org/jira/browse/HBASE-7601
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Jean-Marc Spaggiari
>            Assignee: Jean-Marc Spaggiari
>             Fix For: 0.96.0
>
>         Attachments: HBASE-7601-v0-trunk.patch, HBASE-7601-v1-trunk.patch, 
> HBASE-7601-v2-trunk.patch, HBASE-7601-v3-trunk.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to