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: ZEST-118 we collect all aggregated instances before we start deleting any of them
Date Wed, 02 Sep 2015 09:15:48 GMT
Repository: zest-java
Updated Branches:
  refs/heads/develop 805eb1734 -> db765a7b4


ZEST-118 we collect all aggregated instances before we start deleting any of them


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

Branch: refs/heads/develop
Commit: db765a7b4e6d00befcb71cdebf94a61177b4da70
Parents: 805eb17
Author: Kent Sølvsten <soelvsten@apache.org>
Authored: Wed Sep 2 11:15:35 2015 +0200
Committer: Kent Sølvsten <soelvsten@apache.org>
Committed: Wed Sep 2 11:15:35 2015 +0200

----------------------------------------------------------------------
 .../main/java/org/apache/zest/runtime/entity/EntityInstance.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/zest-java/blob/db765a7b/core/runtime/src/main/java/org/apache/zest/runtime/entity/EntityInstance.java
----------------------------------------------------------------------
diff --git a/core/runtime/src/main/java/org/apache/zest/runtime/entity/EntityInstance.java
b/core/runtime/src/main/java/org/apache/zest/runtime/entity/EntityInstance.java
old mode 100644
new mode 100755
index de3013e..573af9a
--- a/core/runtime/src/main/java/org/apache/zest/runtime/entity/EntityInstance.java
+++ b/core/runtime/src/main/java/org/apache/zest/runtime/entity/EntityInstance.java
@@ -288,7 +288,7 @@ public final class EntityInstance
                         .stream() )
                     .filter( entity -> entity != null )
             )
-        ).distinct().forEach( unitOfWork::remove );
+        ).distinct().collect( Collectors.toList() ).stream().forEach( unitOfWork::remove
);
     }
 
     public void checkConstraints()


Mime
View raw message