You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@slider.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2014/09/09 02:14:28 UTC

[jira] [Created] (SLIDER-409) AgentProviderService#publishLogFolderPaths() makes inefficient use of keySet iterator

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)