From 1c80f165b6565f211f42a9f73655044e2a668491 Mon Sep 17 00:00:00 2001 From: Luca Frosini Date: Tue, 4 Feb 2020 09:37:29 +0100 Subject: [PATCH] Class Names refactoring --- .../java/org/gcube/informationsystem/utils/ElementMapper.java | 4 ++-- .../utils/{ISMappingAction.java => ElementMappingAction.java} | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) rename src/main/java/org/gcube/informationsystem/utils/{ISMappingAction.java => ElementMappingAction.java} (92%) diff --git a/src/main/java/org/gcube/informationsystem/utils/ElementMapper.java b/src/main/java/org/gcube/informationsystem/utils/ElementMapper.java index 20dedf8..b217926 100644 --- a/src/main/java/org/gcube/informationsystem/utils/ElementMapper.java +++ b/src/main/java/org/gcube/informationsystem/utils/ElementMapper.java @@ -82,7 +82,7 @@ public abstract class ElementMapper { } public static void registerPackages(List packages) { - SchemaAction schemaAction = new ISMappingAction(); + SchemaAction schemaAction = new ElementMappingAction(); try { ElementSpecilizationDiscovery.manageISM(schemaAction, packages); } catch(Exception e) { @@ -92,7 +92,7 @@ public abstract class ElementMapper { public static void registerPackages(Package... packages) { - SchemaAction schemaAction = new ISMappingAction(); + SchemaAction schemaAction = new ElementMappingAction(); try { ElementSpecilizationDiscovery.manageISM(schemaAction, packages); } catch(Exception e) { diff --git a/src/main/java/org/gcube/informationsystem/utils/ISMappingAction.java b/src/main/java/org/gcube/informationsystem/utils/ElementMappingAction.java similarity index 92% rename from src/main/java/org/gcube/informationsystem/utils/ISMappingAction.java rename to src/main/java/org/gcube/informationsystem/utils/ElementMappingAction.java index 5aa7e8c..9c417c1 100644 --- a/src/main/java/org/gcube/informationsystem/utils/ISMappingAction.java +++ b/src/main/java/org/gcube/informationsystem/utils/ElementMappingAction.java @@ -11,9 +11,9 @@ import org.gcube.informationsystem.utils.discovery.SchemaAction; /** * @author Luca Frosini (ISTI - CNR) */ -class ISMappingAction implements SchemaAction { +class ElementMappingAction implements SchemaAction { - public ISMappingAction(){ + public ElementMappingAction(){ }