polygene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From soelvs...@apache.org
Subject zest-java git commit: removed unused parameter from EntityModel#newEntityState
Date Sun, 13 Dec 2015 21:46:49 GMT
Repository: zest-java
Updated Branches:
  refs/heads/develop 2d33d34bd -> 8ce8950bb


removed unused parameter from EntityModel#newEntityState


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

Branch: refs/heads/develop
Commit: 8ce8950bbe4f78d0fa3ced0ff4ff0bd884e10d44
Parents: 2d33d34
Author: Kent Sølvsten <soelvsten@apache.org>
Authored: Sun Dec 13 22:46:22 2015 +0100
Committer: Kent Sølvsten <soelvsten@apache.org>
Committed: Sun Dec 13 22:46:22 2015 +0100

----------------------------------------------------------------------
 .../main/java/org/apache/zest/runtime/entity/EntityModel.java    | 2 +-
 .../apache/zest/runtime/unitofwork/EntityBuilderInstance.java    | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/zest-java/blob/8ce8950b/core/runtime/src/main/java/org/apache/zest/runtime/entity/EntityModel.java
----------------------------------------------------------------------
diff --git a/core/runtime/src/main/java/org/apache/zest/runtime/entity/EntityModel.java b/core/runtime/src/main/java/org/apache/zest/runtime/entity/EntityModel.java
index fb4ca22..42b33b6 100755
--- a/core/runtime/src/main/java/org/apache/zest/runtime/entity/EntityModel.java
+++ b/core/runtime/src/main/java/org/apache/zest/runtime/entity/EntityModel.java
@@ -109,7 +109,7 @@ public final class EntityModel extends CompositeModel
         return ( (EntityMixinsModel) mixinsModel ).newMixin( entityInstance, entityState,
mixins, method );
     }
 
-    public EntityState newEntityState( EntityStoreUnitOfWork store, ModuleSpi module, EntityReference
identity )
+    public EntityState newEntityState( EntityStoreUnitOfWork store, EntityReference identity
)
         throws ConstraintViolationException, EntityStoreException
     {
         try

http://git-wip-us.apache.org/repos/asf/zest-java/blob/8ce8950b/core/runtime/src/main/java/org/apache/zest/runtime/unitofwork/EntityBuilderInstance.java
----------------------------------------------------------------------
diff --git a/core/runtime/src/main/java/org/apache/zest/runtime/unitofwork/EntityBuilderInstance.java
b/core/runtime/src/main/java/org/apache/zest/runtime/unitofwork/EntityBuilderInstance.java
old mode 100644
new mode 100755
index 3219430..345be83
--- a/core/runtime/src/main/java/org/apache/zest/runtime/unitofwork/EntityBuilderInstance.java
+++ b/core/runtime/src/main/java/org/apache/zest/runtime/unitofwork/EntityBuilderInstance.java
@@ -121,8 +121,8 @@ public final class EntityBuilderInstance<T>
 
         // Figure out whether to use given or generated identity
         identity = (String) entityState.propertyValueOf( IDENTITY_STATE_NAME );
-        EntityState newEntityState = model.newEntityState( store, uow.module(),
-                                                                   EntityReference.parseEntityReference(
identity ) );
+        EntityState newEntityState = model.newEntityState( store,
+                                                           EntityReference.parseEntityReference(
identity ) );
 
         prototypeInstance.invokeCreate();
 


Mime
View raw message