hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-16705) Eliminate long to Long auto boxing in LongComparator
Date Wed, 05 Oct 2016 12:49:21 GMT

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

Hudson commented on HBASE-16705:
--------------------------------

FAILURE: Integrated in Jenkins build HBase-0.98-matrix #407 (See [https://builds.apache.org/job/HBase-0.98-matrix/407/])
Amend HBASE-16705 Eliminate long to Long auto boxing in LongComparator. (apurtell: rev 44c724b56dc1431209f561cb997fce805f9f45f9)
* (edit) hbase-client/src/main/java/org/apache/hadoop/hbase/filter/LongComparator.java


> Eliminate long to Long auto boxing in LongComparator
> ----------------------------------------------------
>
>                 Key: HBASE-16705
>                 URL: https://issues.apache.org/jira/browse/HBASE-16705
>             Project: HBase
>          Issue Type: Improvement
>          Components: Filters
>    Affects Versions: 2.0..
>            Reporter: binlijin
>            Assignee: binlijin
>            Priority: Minor
>             Fix For: 2.0.0, 1.4.0, 0.98.23
>
>         Attachments: HBASE-16705-master.patch
>
>
> LongComparator
>     @Override
>     public int compareTo(byte[] value, int offset, int length) {
>       Long that = Bytes.toLong(value, offset, length);
>       return this.longValue.compareTo(that);
>     }
> Every time need to convert long to Long, this is not necessary.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message