Author: jleroux
Date: Sat Nov 17 09:49:56 2018
New Revision: 1846790
URL:
http://svn.apache.org/viewvc?rev=1846790&view=revLog:
Improved: Remove useless ControlServlet code
(OFBIZ-10447)
It seems better to remove some code and rely on method/contructor dispatch.
jleroux: w/o specific implementations, there is no point indeed
Thanks: Mathieu Lirzin
Modified:
ofbiz/ofbiz-framework/trunk/framework/webapp/src/main/java/org/apache/ofbiz/webapp/control/ControlServlet.java
Modified: ofbiz/ofbiz-framework/trunk/framework/webapp/src/main/java/org/apache/ofbiz/webapp/control/ControlServlet.java
URL:
http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/framework/webapp/src/main/java/org/apache/ofbiz/webapp/control/ControlServlet.java?rev=1846790&r1=1846789&r2=1846790&view=diff==============================================================================
--- ofbiz/ofbiz-framework/trunk/framework/webapp/src/main/java/org/apache/ofbiz/webapp/control/ControlServlet.java (original)
+++ ofbiz/ofbiz-framework/trunk/framework/webapp/src/main/java/org/apache/ofbiz/webapp/control/ControlServlet.java Sat Nov 17 09:49:56 2018
@@ -58,10 +58,6 @@ public class ControlServlet extends Http
public static final String module = ControlServlet.class.getName();
- public ControlServlet() {
- super();
- }
-
/**
* @see javax.servlet.Servlet#init(javax.servlet.ServletConfig)
*/
@@ -322,14 +318,6 @@ public class ControlServlet extends Http
GenericDelegator.clearSessionIdentifierStack();
}
- /**
- * @see javax.servlet.Servlet#destroy()
- */
- @Override
- public void destroy() {
- super.destroy();
- }
-
protected void logRequestInfo(HttpServletRequest request) {
ServletContext servletContext = this.getServletContext();
HttpSession session = request.getSession();