[
https://issues.apache.org/jira/browse/HBASE-2874?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Benoit Sigoure updated HBASE-2874:
----------------------------------
Attachment: trunk-HBASE-2874-Unnecessary-double-synchronization-in-Zoo.patch
1-line change that fixes the issue (modulo the trailing whitespaces being
killed).
> Unnecessary double-synchronization in ZooKeeperWrapper
> ------------------------------------------------------
>
> Key: HBASE-2874
> URL: https://issues.apache.org/jira/browse/HBASE-2874
> Project: HBase
> Issue Type: Bug
> Components: zookeeper
> Reporter: Benoit Sigoure
> Assignee: Benoit Sigoure
> Priority: Trivial
> Attachments:
> trunk-HBASE-2874-Unnecessary-double-synchronization-in-Zoo.patch
>
>
> The {{listeners}} attribute is a synchronized collection but it's only
> accessed from 3 methods that are already marked as {{synchronized}}. The
> double-synchronization is unnecessary and can be eliminated.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.