[jira] [Updated] (HBASE-16705) Eliminate long to Long auto boxing in LongComparator
[ https://issues.apache.org/jira/browse/HBASE-16705?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Duo Zhang updated HBASE-16705: -- Affects Version/s: (was: 2.0..) 2.0.0 > 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.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.15#6346)
[jira] [Updated] (HBASE-16705) Eliminate long to Long auto boxing in LongComparator
[ https://issues.apache.org/jira/browse/HBASE-16705?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Purtell updated HBASE-16705: --- Fix Version/s: 0.98.23 1.4.0 > 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)
[jira] [Updated] (HBASE-16705) Eliminate long to Long auto boxing in LongComparator
[ https://issues.apache.org/jira/browse/HBASE-16705?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anoop Sam John updated HBASE-16705: --- Resolution: Fixed Hadoop Flags: Reviewed Fix Version/s: 2.0.0 Status: Resolved (was: Patch Available) Thanks for the patch. > 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 > > 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)
[jira] [Updated] (HBASE-16705) Eliminate long to Long auto boxing in LongComparator
[ https://issues.apache.org/jira/browse/HBASE-16705?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ted Yu updated HBASE-16705: --- Priority: Minor (was: Major) lgtm > 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 > 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)
[jira] [Updated] (HBASE-16705) Eliminate long to Long auto boxing in LongComparator
[ https://issues.apache.org/jira/browse/HBASE-16705?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] binlijin updated HBASE-16705: - Status: Patch Available (was: Open) > 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 > 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)
[jira] [Updated] (HBASE-16705) Eliminate long to Long auto boxing in LongComparator
[ https://issues.apache.org/jira/browse/HBASE-16705?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] binlijin updated HBASE-16705: - Attachment: HBASE-16705-master.patch > 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 > 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)