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 2018/08/23 09:48:51 UTC

[isis] 01/07: ISIS-1974: removes SpecificationLoader from RegisterEntities as not used as a property.

This is an automated email from the ASF dual-hosted git repository.

danhaywood pushed a commit to branch maint-1.16.2
in repository https://gitbox.apache.org/repos/asf/isis.git

commit 14c6b11f1c25ac25a0c1ee1b7fa6bcdfb4c6ece6
Author: danhaywood <da...@haywood-associates.co.uk>
AuthorDate: Wed Aug 22 13:22:54 2018 +0100

    ISIS-1974: removes SpecificationLoader from RegisterEntities as not used as a property.
---
 .../apache/isis/objectstore/jdo/service/RegisterEntities.java  | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/core/runtime/src/main/java/org/apache/isis/objectstore/jdo/service/RegisterEntities.java b/core/runtime/src/main/java/org/apache/isis/objectstore/jdo/service/RegisterEntities.java
index ffcdfb4..ab192db 100644
--- a/core/runtime/src/main/java/org/apache/isis/objectstore/jdo/service/RegisterEntities.java
+++ b/core/runtime/src/main/java/org/apache/isis/objectstore/jdo/service/RegisterEntities.java
@@ -39,7 +39,6 @@ import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
 import org.apache.isis.applib.AppManifest;
-import org.apache.isis.core.metamodel.specloader.SpecificationLoader;
 
 public class RegisterEntities {
 
@@ -53,15 +52,13 @@ public class RegisterEntities {
 
     //region > entityTypes
     private final Set<String> entityTypes = Sets.newLinkedHashSet();
-    private final SpecificationLoader specificationLoader;
 
     public Set<String> getEntityTypes() {
         return entityTypes;
     }
     //endregion
 
-    public RegisterEntities(final Map<String, String> configuration, final SpecificationLoader specificationLoader) {
-        this.specificationLoader = specificationLoader;
+    public RegisterEntities(final Map<String, String> configuration) {
 
         Set<Class<?>> persistenceCapableTypes = AppManifest.Registry.instance().getPersistenceCapableTypes();
 
@@ -164,11 +161,6 @@ public class RegisterEntities {
         };
     }
 
-    // //////////////////////////////////////
-
-    SpecificationLoader getSpecificationLoader() {
-        return specificationLoader;
-    }
 
 
 }