[
https://issues.apache.org/jira/browse/HBASE-9295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13769713#comment-13769713
]
Jesse Yates commented on HBASE-9295:
------------------------------------
Would be nice if each anti-patter came with a description of why it was bad
(i.e. in this case, omits byte[] comparator for a treeMap). Otherwise, a cool
idea!
> Allow test-patch.sh to detect TreeMap keyed by byte[] which doesn't use
> proper comparator
> -----------------------------------------------------------------------------------------
>
> Key: HBASE-9295
> URL: https://issues.apache.org/jira/browse/HBASE-9295
> Project: HBase
> Issue Type: Task
> Reporter: Ted Yu
> Assignee: Ted Yu
> Fix For: 0.98.0
>
> Attachments: 9295-v1.txt
>
>
> There were two recent bug fixes (HBASE-9285 and HBASE-9238) for the case
> where the TreeMap keyed by byte[] doesn't use proper comparator:
> {code}
> new TreeMap<byte[], ...>()
> {code}
> test-patch.sh should be able to detect this situation and report accordingly.
--
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