brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aledsage <...@git.apache.org>
Subject [GitHub] brooklyn-server pull request #340: ConfigMap refactor, respecting inheritanc...
Date Thu, 22 Sep 2016 15:48:36 GMT
Github user aledsage commented on a diff in the pull request:

    https://github.com/apache/brooklyn-server/pull/340#discussion_r80072691
  
    --- Diff: utils/common/src/main/java/org/apache/brooklyn/config/StringConfigMap.java ---
    @@ -32,4 +34,12 @@
          * and 'defaultIfNone' (a default value to return if there is no such property);
          * defaults to no warning and null default value */
         public String getFirst(@SuppressWarnings("rawtypes") Map flags, String... keys);
    +    
    +    /** returns submap matching the given filter predicate; see ConfigPredicates for
common predicates */
    +    public StringConfigMap submap(Predicate<ConfigKey<?>> filter);
    --- End diff --
    
    Should be `submap(Predicate<? super ConfigKey<?>> filter)`


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message