[
https://issues.apache.org/jira/browse/HBASE-9295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13800917#comment-13800917
]
Jesse Yates commented on HBASE-9295:
------------------------------------
I think that we can make it a little bit more general to cover other
anti-patterns, since others are sure to come up, even on single-line cases.
But, until then, I guess this is fine - we can make it more general later
> 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, 9295-v2.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 was sent by Atlassian JIRA
(v6.1#6144)