Ted Yu created SLIDER-409:
-----------------------------

             Summary: 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