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:20 UTC

[21/50] [abbrv] isis git commit: ISIS-1194: inlining PersistenceSession#registerService

ISIS-1194: inlining PersistenceSession#registerService


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

Branch: refs/heads/ISIS-1194
Commit: 9a2bab3f1f3b3ddf17f7895f38c920e84c537227
Parents: b3d83d3
Author: Dan Haywood <da...@haywood-associates.co.uk>
Authored: Thu Sep 10 09:24:21 2015 +0100
Committer: Dan Haywood <da...@haywood-associates.co.uk>
Committed: Thu Sep 10 09:24:21 2015 +0100

----------------------------------------------------------------------
 .../core/runtime/system/persistence/PersistenceSession.java | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/isis/blob/9a2bab3f/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 6bb67f9..0d3b77b 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
@@ -245,7 +245,7 @@ public class PersistenceSession implements SessionScopedComponent, DebuggableWit
 
             if (existingOid == null) {
                 final RootOid persistentOid = (RootOid) serviceAdapter.getOid();
-                registerService(persistentOid);
+                objectStoreRegisterService(persistentOid);
             }
         }
     }
@@ -478,13 +478,6 @@ public class PersistenceSession implements SessionScopedComponent, DebuggableWit
         return getOidForServiceFromPersistenceLayer(serviceSpec);
     }
 
-    /**
-     * Registers the specified service as having the specified OID.
-     */
-    protected void registerService(final RootOid rootOid) {
-        objectStoreRegisterService(rootOid);
-    }
-
     //region > registerServices, getOidForService
     private void objectStoreRegisterService(RootOid rootOid) {
         ensureOpened();