[
https://issues.apache.org/jira/browse/HADOOP-15876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16685808#comment-16685808
]
Hudson commented on HADOOP-15876:
---------------------------------
SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #15423 (See
[https://builds.apache.org/job/Hadoop-trunk-Commit/15423/])
HADOOP-15876. Use keySet().removeAll() to remove multiple keys from Map
(stevel: rev a13be203b7877ba56ef63aac4a2e65d4e1a4adbc)
* (edit)
hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/AzureBlobFileSystemStore.java
> Use keySet().removeAll() to remove multiple keys from Map in
> AzureBlobFileSystemStore
> -------------------------------------------------------------------------------------
>
> Key: HADOOP-15876
> URL: https://issues.apache.org/jira/browse/HADOOP-15876
> Project: Hadoop Common
> Issue Type: Sub-task
> Components: fs/azure
> Affects Versions: 3.2.0
> Reporter: Ted Yu
> Assignee: Da Zhou
> Priority: Minor
> Fix For: 3.2.1
>
> Attachments: HADOOP-15876-001.patch
>
>
> Looking at
> hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/AzureBlobFileSystemStore.java
> , {{removeDefaultAcl}} in particular:
> {code}
> for (Map.Entry<String, String> defaultAclEntry :
> defaultAclEntries.entrySet()) {
> aclEntries.remove(defaultAclEntry.getKey());
> }
> {code}
> The above operation can be written this way:
> {code}
> aclEntries.keySet().removeAll(defaultAclEntries.keySet());
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]