brooklyn-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aleds...@apache.org
Subject [1/2] incubator-brooklyn git commit: Changes Entities.descendants to allow 'Predicat<? super Entity>' instead of 'Predicate<Entity>'
Date Mon, 02 Mar 2015 20:26:32 GMT
Repository: incubator-brooklyn
Updated Branches:
  refs/heads/master a6265834f -> d2e1487fb


Changes Entities.descendants to allow 'Predicat<? super Entity>' instead of 'Predicate<Entity>'


Project: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/commit/0148413a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/tree/0148413a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/diff/0148413a

Branch: refs/heads/master
Commit: 0148413ac3cb821d35a98f9753a3fd8f7d443956
Parents: a626583
Author: Martin Harris <github@nakomis.com>
Authored: Mon Mar 2 17:34:14 2015 +0000
Committer: Martin Harris <github@nakomis.com>
Committed: Mon Mar 2 17:34:14 2015 +0000

----------------------------------------------------------------------
 core/src/main/java/brooklyn/entity/basic/Entities.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/0148413a/core/src/main/java/brooklyn/entity/basic/Entities.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/brooklyn/entity/basic/Entities.java b/core/src/main/java/brooklyn/entity/basic/Entities.java
index f8fff24..5b88087 100644
--- a/core/src/main/java/brooklyn/entity/basic/Entities.java
+++ b/core/src/main/java/brooklyn/entity/basic/Entities.java
@@ -595,7 +595,7 @@ public class Entities {
      *
      * @see #descendants(Entity, Predicate, boolean)
      */
-    public static Iterable<Entity> descendants(Entity root, Predicate<Entity>
matching) {
+    public static Iterable<Entity> descendants(Entity root, Predicate<? super Entity>
matching) {
         return descendants(root, matching, true);
     }
 


Mime
View raw message