brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ahgittin <...@git.apache.org>
Subject [GitHub] incubator-brooklyn pull request: Introduce relationships between b...
Date Tue, 27 Oct 2015 10:06:13 GMT
Github user ahgittin commented on a diff in the pull request:

    https://github.com/apache/incubator-brooklyn/pull/987#discussion_r43101977
  
    --- Diff: api/src/main/java/org/apache/brooklyn/api/objs/Configurable.java ---
    @@ -41,6 +41,11 @@
         @Deprecated
         public <T> T setConfig(ConfigKey<T> key, T val);
     
    +    /**
    +     * Convenience method for {@code config().get(key)}
    +     */
    +    <T> T getConfig(ConfigKey<T> key);
    --- End diff --
    
    I moved it because it was confusing the compiler when in multiple interfaces, even though
the signature was the same it complained of a local generics `<T>` mismatch.  Have removed
from a couple places.


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