From 70201808040610e4fb1afba7fcc791f4fad19d35 Mon Sep 17 00:00:00 2001 From: Alfredo Oliviero Date: Mon, 3 Jun 2024 13:43:25 +0200 Subject: [PATCH] rename classes --- .../CC_MethodEditorPortlet.java | 2 -- .../CC_MethodExecutorPortlet.java | 2 -- .../CC_MethodMonitorPortlet.java | 23 ------------------- ...let.java => CC_MethodsMonitorPortlet.java} | 7 ++---- src/main/webapp/WEB-INF/portlet.xml | 4 ++-- 5 files changed, 4 insertions(+), 34 deletions(-) delete mode 100644 src/main/java/org/gcube/portlets/user/cloudcomputing/CC_MethodMonitorPortlet.java rename src/main/java/org/gcube/portlets/user/cloudcomputing/{CC_MethodListPortlet.java => CC_MethodsMonitorPortlet.java} (75%) diff --git a/src/main/java/org/gcube/portlets/user/cloudcomputing/CC_MethodEditorPortlet.java b/src/main/java/org/gcube/portlets/user/cloudcomputing/CC_MethodEditorPortlet.java index a62ad79..527c4e4 100644 --- a/src/main/java/org/gcube/portlets/user/cloudcomputing/CC_MethodEditorPortlet.java +++ b/src/main/java/org/gcube/portlets/user/cloudcomputing/CC_MethodEditorPortlet.java @@ -6,8 +6,6 @@ import javax.portlet.PortletException; import javax.portlet.RenderRequest; import javax.portlet.RenderResponse; -import org.gcube.portlets.user.cloudcomputing.CC_Portlet; - import com.liferay.portal.kernel.log.LogFactoryUtil; public class CC_MethodEditorPortlet extends CC_Portlet { diff --git a/src/main/java/org/gcube/portlets/user/cloudcomputing/CC_MethodExecutorPortlet.java b/src/main/java/org/gcube/portlets/user/cloudcomputing/CC_MethodExecutorPortlet.java index c60fe8b..6a5bb18 100644 --- a/src/main/java/org/gcube/portlets/user/cloudcomputing/CC_MethodExecutorPortlet.java +++ b/src/main/java/org/gcube/portlets/user/cloudcomputing/CC_MethodExecutorPortlet.java @@ -6,8 +6,6 @@ import javax.portlet.PortletException; import javax.portlet.RenderRequest; import javax.portlet.RenderResponse; -import org.gcube.portlets.user.cloudcomputing.CC_Portlet; - import com.liferay.portal.kernel.log.LogFactoryUtil; public class CC_MethodExecutorPortlet extends CC_Portlet { diff --git a/src/main/java/org/gcube/portlets/user/cloudcomputing/CC_MethodMonitorPortlet.java b/src/main/java/org/gcube/portlets/user/cloudcomputing/CC_MethodMonitorPortlet.java deleted file mode 100644 index 678d0cc..0000000 --- a/src/main/java/org/gcube/portlets/user/cloudcomputing/CC_MethodMonitorPortlet.java +++ /dev/null @@ -1,23 +0,0 @@ -package org.gcube.portlets.user.cloudcomputing; - -import java.io.IOException; - -import javax.portlet.PortletException; -import javax.portlet.RenderRequest; -import javax.portlet.RenderResponse; - -import org.gcube.portlets.user.cloudcomputing.CC_Portlet; - -import com.liferay.portal.kernel.log.LogFactoryUtil; - -public class CC_MethodMonitorPortlet extends CC_Portlet { - - private static com.liferay.portal.kernel.log.Log _log = LogFactoryUtil - .getLog(CC_MethodMonitorPortlet.class); - - public void render(RenderRequest renderRequest, RenderResponse renderResponse) - throws PortletException, IOException { - super.render(renderRequest, renderResponse); - } - -} diff --git a/src/main/java/org/gcube/portlets/user/cloudcomputing/CC_MethodListPortlet.java b/src/main/java/org/gcube/portlets/user/cloudcomputing/CC_MethodsMonitorPortlet.java similarity index 75% rename from src/main/java/org/gcube/portlets/user/cloudcomputing/CC_MethodListPortlet.java rename to src/main/java/org/gcube/portlets/user/cloudcomputing/CC_MethodsMonitorPortlet.java index eb5d686..17edd5a 100644 --- a/src/main/java/org/gcube/portlets/user/cloudcomputing/CC_MethodListPortlet.java +++ b/src/main/java/org/gcube/portlets/user/cloudcomputing/CC_MethodsMonitorPortlet.java @@ -1,4 +1,3 @@ - package org.gcube.portlets.user.cloudcomputing; import java.io.IOException; @@ -7,14 +6,12 @@ import javax.portlet.PortletException; import javax.portlet.RenderRequest; import javax.portlet.RenderResponse; -import org.gcube.portlets.user.cloudcomputing.CC_Portlet; - import com.liferay.portal.kernel.log.LogFactoryUtil; -public class CC_MethodListPortlet extends CC_Portlet { +public class CC_MethodsMonitorPortlet extends CC_Portlet { private static com.liferay.portal.kernel.log.Log _log = LogFactoryUtil - .getLog(CC_MethodListPortlet.class); + .getLog(CC_MethodsMonitorPortlet.class); public void render(RenderRequest renderRequest, RenderResponse renderResponse) throws PortletException, IOException { diff --git a/src/main/webapp/WEB-INF/portlet.xml b/src/main/webapp/WEB-INF/portlet.xml index e86efa2..ab0f009 100644 --- a/src/main/webapp/WEB-INF/portlet.xml +++ b/src/main/webapp/WEB-INF/portlet.xml @@ -74,7 +74,7 @@ cloudcomputing-methods-list-portlet CCP Methods List Portlet - org.gcube.portlets.user.cloudcomputing.CC_MethodListPortlet + org.gcube.portlets.user.cloudcomputing.CC_MethodsListPortlet view-template @@ -173,7 +173,7 @@ cloudcomputing-method-monitor-portlet CCP Executions Monitor Portlet - org.gcube.portlets.user.cloudcomputing.CC_MethodMonitorPortlet + org.gcube.portlets.user.cloudcomputing.CC_MethodsMonitorPortlet view-template