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 EntityStoreUnitOfWork#newEntityState
Date Tue, 06 Oct 2015 21:29:51 GMT
Repository: zest-java
Updated Branches:
  refs/heads/develop 326a25446 -> 79aa83408


removed unused parameter from EntityStoreUnitOfWork#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/79aa8340
Tree: http://git-wip-us.apache.org/repos/asf/zest-java/tree/79aa8340
Diff: http://git-wip-us.apache.org/repos/asf/zest-java/diff/79aa8340

Branch: refs/heads/develop
Commit: 79aa83408fed40357adb152db055489e4f34dedc
Parents: 326a254
Author: Kent Sølvsten <soelvsten@apache.org>
Authored: Tue Oct 6 23:29:45 2015 +0200
Committer: Kent Sølvsten <soelvsten@apache.org>
Committed: Tue Oct 6 23:29:45 2015 +0200

----------------------------------------------------------------------
 .../main/java/org/apache/zest/runtime/entity/EntityModel.java   | 2 +-
 .../spi/entitystore/ConcurrentModificationCheckConcern.java     | 5 ++---
 .../zest/spi/entitystore/DefaultEntityStoreUnitOfWork.java      | 2 +-
 .../org/apache/zest/spi/entitystore/EntityStoreUnitOfWork.java  | 2 +-
 4 files changed, 5 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/zest-java/blob/79aa8340/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 1a433dc..fb4ca22 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
@@ -115,7 +115,7 @@ public final class EntityModel extends CompositeModel
         try
         {
             // New EntityState
-            EntityState entityState = store.newEntityState( module, identity, this );
+            EntityState entityState = store.newEntityState( identity, this );
 
             // Set identity property
             PropertyDescriptor persistentPropertyDescriptor = state().propertyModelFor( IDENTITY_METHOD
);

http://git-wip-us.apache.org/repos/asf/zest-java/blob/79aa8340/core/spi/src/main/java/org/apache/zest/spi/entitystore/ConcurrentModificationCheckConcern.java
----------------------------------------------------------------------
diff --git a/core/spi/src/main/java/org/apache/zest/spi/entitystore/ConcurrentModificationCheckConcern.java
b/core/spi/src/main/java/org/apache/zest/spi/entitystore/ConcurrentModificationCheckConcern.java
index c811568..5ae7b56 100755
--- a/core/spi/src/main/java/org/apache/zest/spi/entitystore/ConcurrentModificationCheckConcern.java
+++ b/core/spi/src/main/java/org/apache/zest/spi/entitystore/ConcurrentModificationCheckConcern.java
@@ -90,13 +90,12 @@ public abstract class ConcurrentModificationCheckConcern
         }
 
         @Override
-        public EntityState newEntityState( ModuleSpi module,
-                                           EntityReference anIdentity,
+        public EntityState newEntityState( EntityReference anIdentity,
                                            EntityDescriptor entityDescriptor
         )
             throws EntityStoreException
         {
-            return uow.newEntityState( module, anIdentity, entityDescriptor );
+            return uow.newEntityState( anIdentity, entityDescriptor );
         }
 
         @Override

http://git-wip-us.apache.org/repos/asf/zest-java/blob/79aa8340/core/spi/src/main/java/org/apache/zest/spi/entitystore/DefaultEntityStoreUnitOfWork.java
----------------------------------------------------------------------
diff --git a/core/spi/src/main/java/org/apache/zest/spi/entitystore/DefaultEntityStoreUnitOfWork.java
b/core/spi/src/main/java/org/apache/zest/spi/entitystore/DefaultEntityStoreUnitOfWork.java
index 2f1e6d1..bb873d1 100755
--- a/core/spi/src/main/java/org/apache/zest/spi/entitystore/DefaultEntityStoreUnitOfWork.java
+++ b/core/spi/src/main/java/org/apache/zest/spi/entitystore/DefaultEntityStoreUnitOfWork.java
@@ -65,7 +65,7 @@ public final class DefaultEntityStoreUnitOfWork
     // EntityStore
 
     @Override
-    public EntityState newEntityState( ModuleSpi module, EntityReference anIdentity, EntityDescriptor
descriptor )
+    public EntityState newEntityState( EntityReference anIdentity, EntityDescriptor descriptor
)
         throws EntityStoreException
     {
         EntityState entityState = states.get( anIdentity );

http://git-wip-us.apache.org/repos/asf/zest-java/blob/79aa8340/core/spi/src/main/java/org/apache/zest/spi/entitystore/EntityStoreUnitOfWork.java
----------------------------------------------------------------------
diff --git a/core/spi/src/main/java/org/apache/zest/spi/entitystore/EntityStoreUnitOfWork.java
b/core/spi/src/main/java/org/apache/zest/spi/entitystore/EntityStoreUnitOfWork.java
index efe396e..e5d569c 100755
--- a/core/spi/src/main/java/org/apache/zest/spi/entitystore/EntityStoreUnitOfWork.java
+++ b/core/spi/src/main/java/org/apache/zest/spi/entitystore/EntityStoreUnitOfWork.java
@@ -42,7 +42,7 @@ public interface EntityStoreUnitOfWork
      *
      * @throws EntityStoreException Thrown if creational fails.
      */
-    EntityState newEntityState( ModuleSpi module, EntityReference anIdentity, EntityDescriptor
entityDescriptor )
+    EntityState newEntityState( EntityReference anIdentity, EntityDescriptor entityDescriptor
)
         throws EntityStoreException;
 
     /**


Mime
View raw message