polygene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From paulmer...@apache.org
Subject [2/2] polygene-java git commit: Rename Visibilitypredicate to VisibilityPredicate
Date Sun, 15 Jan 2017 18:06:58 GMT
Rename Visibilitypredicate to VisibilityPredicate


Project: http://git-wip-us.apache.org/repos/asf/polygene-java/repo
Commit: http://git-wip-us.apache.org/repos/asf/polygene-java/commit/8f534efe
Tree: http://git-wip-us.apache.org/repos/asf/polygene-java/tree/8f534efe
Diff: http://git-wip-us.apache.org/repos/asf/polygene-java/diff/8f534efe

Branch: refs/heads/develop
Commit: 8f534efe2bb9cbce9490207908a6175fd2ac2a0a
Parents: 8187f2f
Author: Paul Merlin <paulmerlin@apache.org>
Authored: Sun Jan 15 18:58:39 2017 +0100
Committer: Paul Merlin <paulmerlin@apache.org>
Committed: Sun Jan 15 18:58:39 2017 +0100

----------------------------------------------------------------------
 .../apache/polygene/runtime/structure/ModuleModel.java  | 12 ++++++------
 .../polygene/runtime/structure/VisibilityPredicate.java | 10 +++++-----
 2 files changed, 11 insertions(+), 11 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/polygene-java/blob/8f534efe/core/runtime/src/main/java/org/apache/polygene/runtime/structure/ModuleModel.java
----------------------------------------------------------------------
diff --git a/core/runtime/src/main/java/org/apache/polygene/runtime/structure/ModuleModel.java
b/core/runtime/src/main/java/org/apache/polygene/runtime/structure/ModuleModel.java
index f83a2cd..6b556a5 100644
--- a/core/runtime/src/main/java/org/apache/polygene/runtime/structure/ModuleModel.java
+++ b/core/runtime/src/main/java/org/apache/polygene/runtime/structure/ModuleModel.java
@@ -326,34 +326,34 @@ public class ModuleModel
     public Stream<? extends ObjectDescriptor> visibleObjects( Visibility visibility
)
     {
         return objectsModel.models()
-            .filter( new Visibilitypredicate( visibility ) );
+            .filter( new VisibilityPredicate( visibility ) );
     }
 
     public Stream<? extends TransientDescriptor> visibleTransients( Visibility visibility
)
     {
         return transientsModel.models()
-            .filter( new Visibilitypredicate( visibility ) );
+            .filter( new VisibilityPredicate( visibility ) );
     }
 
     public Stream<? extends EntityDescriptor> visibleEntities( Visibility visibility
)
     {
         return entitiesModel.models()
-            .filter( new Visibilitypredicate( visibility ) );
+            .filter( new VisibilityPredicate( visibility ) );
     }
 
     public Stream<? extends ValueDescriptor> visibleValues( Visibility visibility )
     {
         return valuesModel.models()
-            .filter( new Visibilitypredicate( visibility ) );
+            .filter( new VisibilityPredicate( visibility ) );
     }
 
     public Stream<? extends ModelDescriptor> visibleServices( Visibility visibility
)
     {
         return concat(
             servicesModel.models()
-                .filter( new Visibilitypredicate( visibility ) ),
+                .filter( new VisibilityPredicate( visibility ) ),
             importedServicesModel.models()
-                .filter( new Visibilitypredicate( visibility ) )
+                .filter( new VisibilityPredicate( visibility ) )
         );
     }
 

http://git-wip-us.apache.org/repos/asf/polygene-java/blob/8f534efe/core/runtime/src/main/java/org/apache/polygene/runtime/structure/VisibilityPredicate.java
----------------------------------------------------------------------
diff --git a/core/runtime/src/main/java/org/apache/polygene/runtime/structure/VisibilityPredicate.java
b/core/runtime/src/main/java/org/apache/polygene/runtime/structure/VisibilityPredicate.java
index df013c3..5478f4b 100644
--- a/core/runtime/src/main/java/org/apache/polygene/runtime/structure/VisibilityPredicate.java
+++ b/core/runtime/src/main/java/org/apache/polygene/runtime/structure/VisibilityPredicate.java
@@ -26,16 +26,16 @@ import org.apache.polygene.api.composite.ModelDescriptor;
 /**
  * TODO
  */
-public class Visibilitypredicate
+public class VisibilityPredicate
     implements Predicate<ModelDescriptor>
 {
-    public static final Predicate<ModelDescriptor> MODULE = new Visibilitypredicate(
Visibility.module );
-    public static final Predicate<ModelDescriptor> LAYER = new Visibilitypredicate(
Visibility.layer );
-    public static final Predicate<ModelDescriptor> APPLICATION = new Visibilitypredicate(
Visibility.application );
+    public static final Predicate<ModelDescriptor> MODULE = new VisibilityPredicate(
Visibility.module );
+    public static final Predicate<ModelDescriptor> LAYER = new VisibilityPredicate(
Visibility.layer );
+    public static final Predicate<ModelDescriptor> APPLICATION = new VisibilityPredicate(
Visibility.application );
 
     private final Visibility visibility;
 
-    public Visibilitypredicate( Visibility visibility )
+    public VisibilityPredicate( Visibility visibility )
     {
         this.visibility = visibility;
     }


Mime
View raw message