osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GitHub] brooklyn-server pull request #999: Constraints - serialization and {forbidde...


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

    https://github.com/apache/brooklyn-server/pull/999#discussion_r219550831
  
    --- Diff: core/src/main/java/org/apache/brooklyn/util/core/ResourcePredicates.java ---
    @@ -64,7 +66,7 @@ public boolean apply(@Nullable String resource, @Nullable BrooklynObject context
     
             @Override
             public String toString() {
    -            return "ResourcePredicates.exists()";
    +            return "ResourcePredicates.urlExists()";
    --- End diff --
    
    Shouldn't this be simply `urlExist()`? Would be more consistent with the other predicate introduced by this PR


---