[ 
https://issues.apache.org/jira/browse/SLIDER-409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14126363#comment-14126363
 ] 

ASF subversion and git services commented on SLIDER-409:
--------------------------------------------------------

Commit 1d083aee68cb989e7e61913398a46729caed3a05 in incubator-slider's branch 
refs/heads/develop from [~tedyu]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-slider.git;h=1d083ae ]

SLIDER-409 AgentProviderService#publishLogFolderPaths() makes inefficient use 
of keySet iterator


> AgentProviderService#publishLogFolderPaths() makes inefficient use of keySet 
> iterator 
> --------------------------------------------------------------------------------------
>
>                 Key: SLIDER-409
>                 URL: https://issues.apache.org/jira/browse/SLIDER-409
>             Project: Slider
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>            Priority: Minor
>
> Here is related code:
> {code}
>     for (String key : folders.keySet()) {
>       workFolders.put(String.format("%s->%s->%s->%s", roleName, hostFqdn, 
> key, containerId), folders.get(key));
> {code}
> folders.entrySet() should be used instead.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to