Github user neykov commented on a diff in the pull request:

    https://github.com/apache/brooklyn-server/pull/182#discussion_r65896126
  
    --- Diff: 
rest/rest-resources/src/main/java/org/apache/brooklyn/rest/transform/EntityTransformer.java
 ---
    @@ -122,6 +123,12 @@ public static EntityConfigSummary 
entityConfigSummary(ConfigKey<?> config, Strin
             Map<String, URI> mapOfLinks =  links==null ? null : 
ImmutableMap.copyOf(links);
             return new EntityConfigSummary(config, label, priority, 
mapOfLinks);
         }
    +
    +    public static PolicyConfigSummary policyConfigSummary(ConfigKey<?> 
config, String label, Double priority, Map<String, URI> links) {
    +        Map<String, URI> mapOfLinks =  links==null ? null : 
ImmutableMap.copyOf(links);
    --- End diff --
    
    Isn't this already handled in the constructor below?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to