[
https://issues.apache.org/jira/browse/HBASE-9566?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13770486#comment-13770486
]
Lars Hofhansl commented on HBASE-9566:
--------------------------------------
{code}
for (Entry<byte[], Integer> scope : scopes.entrySet()) {
this.putIntoScope(scope.getKey(), scope.getValue());
}
{code}
Can we written as: {{this.scopes.putAll(scopes);}}
Will do that and commit.
> Add back WALEdit#get/setScopes method
> -------------------------------------
>
> Key: HBASE-9566
> URL: https://issues.apache.org/jira/browse/HBASE-9566
> Project: HBase
> Issue Type: Bug
> Components: wal
> Affects Versions: 0.94.12
> Reporter: Jesse Yates
> Assignee: Jesse Yates
> Fix For: 0.94.12
>
> Attachments: hbase-9566-v0.patch
>
>
> We removed WALEdit's getScopes and setScopes methods in favor of getFromScope
> and putIntoScope methods. However, this breaks compatibility between 0.94
> versions. Fix is just to add back the get/setScopes methods to support
> existing clients.
--
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