You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by da...@apache.org on 2015/09/10 14:07:35 UTC

[36/50] [abbrv] isis git commit: ISIS-1194: inlined PersistenceSessio#makePersistentInPersistenceLayer

ISIS-1194: inlined PersistenceSessio#makePersistentInPersistenceLayer


Project: http://git-wip-us.apache.org/repos/asf/isis/repo
Commit: http://git-wip-us.apache.org/repos/asf/isis/commit/0aeee065
Tree: http://git-wip-us.apache.org/repos/asf/isis/tree/0aeee065
Diff: http://git-wip-us.apache.org/repos/asf/isis/diff/0aeee065

Branch: refs/heads/ISIS-1194
Commit: 0aeee0659296f0a4a27d20bc333952613fc59899
Parents: 05f54a0
Author: Dan Haywood <da...@haywood-associates.co.uk>
Authored: Thu Sep 10 10:09:44 2015 +0100
Committer: Dan Haywood <da...@haywood-associates.co.uk>
Committed: Thu Sep 10 10:09:44 2015 +0100

----------------------------------------------------------------------
 .../isis/core/runtime/system/persistence/PersistenceSession.java | 4 ----
 1 file changed, 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/isis/blob/0aeee065/core/runtime/src/main/java/org/apache/isis/core/runtime/system/persistence/PersistenceSession.java
----------------------------------------------------------------------
diff --git a/core/runtime/src/main/java/org/apache/isis/core/runtime/system/persistence/PersistenceSession.java b/core/runtime/src/main/java/org/apache/isis/core/runtime/system/persistence/PersistenceSession.java
index 9972461..8ff79c1 100644
--- a/core/runtime/src/main/java/org/apache/isis/core/runtime/system/persistence/PersistenceSession.java
+++ b/core/runtime/src/main/java/org/apache/isis/core/runtime/system/persistence/PersistenceSession.java
@@ -806,10 +806,6 @@ public class PersistenceSession implements TransactionalResource, SessionScopedC
             throw new NotPersistableException("Cannot persist services: " + adapter);
         }
 
-        makePersistentInPersistenceLayer(adapter);
-    }
-
-    protected void makePersistentInPersistenceLayer(final ObjectAdapter adapter) {
         getTransactionManager().executeWithinTransaction(new TransactionalClosure() {
 
             @Override