brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aledsage <...@git.apache.org>
Subject [GitHub] incubator-brooklyn pull request: Rebind NPE fixes
Date Thu, 17 Dec 2015 00:23:19 GMT
Github user aledsage commented on a diff in the pull request:

    https://github.com/apache/incubator-brooklyn/pull/1113#discussion_r47854311
  
    --- Diff: core/src/main/java/org/apache/brooklyn/core/config/BasicConfigKey.java ---
    @@ -217,6 +217,10 @@ public ConfigInheritance getInheritance() {
         /** @see ConfigKey#getConstraint() */
         @Override @Nonnull
         public Predicate<? super T> getConstraint() {
    +        // Could be null after rebinding
    +        if (constraint != null) {
    --- End diff --
    
    Did you mean this to be `if (constraint == null)`?


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