polygene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From paulmer...@apache.org
Subject [4/6] polygene-java git commit: Core API: remove InitialValueProvider
Date Mon, 05 Jun 2017 09:54:43 GMT
Core API: remove InitialValueProvider


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

Branch: refs/heads/develop
Commit: b50f0ac7a4abb4620af059506b2406e4b66cd61e
Parents: b3d5854
Author: Paul Merlin <paulmerlin@apache.org>
Authored: Mon Jun 5 08:20:01 2017 +0200
Committer: Paul Merlin <paulmerlin@apache.org>
Committed: Mon Jun 5 08:20:01 2017 +0200

----------------------------------------------------------------------
 .../polygene/runtime/bootstrap/CompositeAssemblyImpl.java       | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/polygene-java/blob/b50f0ac7/core/runtime/src/main/java/org/apache/polygene/runtime/bootstrap/CompositeAssemblyImpl.java
----------------------------------------------------------------------
diff --git a/core/runtime/src/main/java/org/apache/polygene/runtime/bootstrap/CompositeAssemblyImpl.java
b/core/runtime/src/main/java/org/apache/polygene/runtime/bootstrap/CompositeAssemblyImpl.java
index 543e8cd..bc3993b 100644
--- a/core/runtime/src/main/java/org/apache/polygene/runtime/bootstrap/CompositeAssemblyImpl.java
+++ b/core/runtime/src/main/java/org/apache/polygene/runtime/bootstrap/CompositeAssemblyImpl.java
@@ -59,7 +59,6 @@ import org.apache.polygene.api.mixin.Initializable;
 import org.apache.polygene.api.mixin.Mixins;
 import org.apache.polygene.api.property.GenericPropertyInfo;
 import org.apache.polygene.api.property.Immutable;
-import org.apache.polygene.api.property.InitialValueProvider;
 import org.apache.polygene.api.property.Property;
 import org.apache.polygene.api.sideeffect.SideEffects;
 import org.apache.polygene.api.type.HasTypes;
@@ -491,15 +490,13 @@ public abstract class CompositeAssemblyImpl
         }
         boolean useDefaults = useDefaultsDeclaration != null || stateDeclarations.useDefaults(
accessor );
         boolean immutable = this.immutable || metaInfo.get( Immutable.class ) != null;
-        InitialValueProvider initialValueProvider = metaInfo.get( InitialValueProvider.class
);
         return new PropertyModel(
             accessor,
             immutable,
             useDefaults,
             valueConstraintsInstance,
             metaInfo,
-            initialValue,
-            initialValueProvider
+            initialValue
         );
     }
 


Mime
View raw message