struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mart...@apache.org
Subject cvs commit: jakarta-struts/src/share/org/apache/struts/tiles/actions NoOpAction.java ReloadDefinitionsAction.java ViewDefinitionsAction.java
Date Sun, 05 Jan 2003 01:24:48 GMT
martinc     2003/01/04 17:24:48

  Modified:    src/share/org/apache/struts/tiles
                        ActionComponentServlet.java ActionController.java
                        ComponentDefinitionsFactory.java
                        DefinitionAttribute.java
                        DefinitionNameAttribute.java DefinitionsUtil.java
                        DirectStringAttribute.java PathAttribute.java
                        TilesPlugin.java TilesUtilStrutsImpl.java
                        TilesUtilStrutsModulesImpl.java
               src/share/org/apache/struts/tiles/actions NoOpAction.java
                        ReloadDefinitionsAction.java
                        ViewDefinitionsAction.java
  Log:
  Fix remaining unused imports. I think I've nailed them all now.
  
  Revision  Changes    Path
  1.7       +3 -4      jakarta-struts/src/share/org/apache/struts/tiles/ActionComponentServlet.java
  
  Index: ActionComponentServlet.java
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/tiles/ActionComponentServlet.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- ActionComponentServlet.java	17 Dec 2002 00:57:36 -0000	1.6
  +++ ActionComponentServlet.java	5 Jan 2003 01:24:48 -0000	1.7
  @@ -76,7 +76,6 @@
   import org.apache.struts.action.ActionServlet;
   import org.apache.struts.taglib.html.Constants;
   import org.apache.struts.upload.MultipartRequestWrapper;
  -import org.apache.struts.util.RequestUtils;
   
   /**
    * Action Servlet to be used with Tiles and Struts 1.0.x.
  
  
  
  1.2       +3 -4      jakarta-struts/src/share/org/apache/struts/tiles/ActionController.java
  
  Index: ActionController.java
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/tiles/ActionController.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ActionController.java	25 Jun 2002 03:14:49 -0000	1.1
  +++ ActionController.java	5 Jan 2003 01:24:48 -0000	1.2
  @@ -63,7 +63,6 @@
   package org.apache.struts.tiles;
   
   import org.apache.struts.action.Action;
  -import org.apache.struts.action.ActionServlet;
   
   import java.io.IOException;
   import javax.servlet.http.HttpServletRequest;
  
  
  
  1.3       +3 -4      jakarta-struts/src/share/org/apache/struts/tiles/ComponentDefinitionsFactory.java
  
  Index: ComponentDefinitionsFactory.java
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/tiles/ComponentDefinitionsFactory.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ComponentDefinitionsFactory.java	15 Jul 2002 12:51:52 -0000	1.2
  +++ ComponentDefinitionsFactory.java	5 Jan 2003 01:24:48 -0000	1.3
  @@ -64,7 +64,6 @@
   
   import java.util.Map;
   import java.io.Serializable;
  -import javax.servlet.jsp.PageContext;
   import javax.servlet.ServletRequest;
   import javax.servlet.ServletContext;
   
  
  
  
  1.2       +3 -8      jakarta-struts/src/share/org/apache/struts/tiles/DefinitionAttribute.java
  
  Index: DefinitionAttribute.java
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/tiles/DefinitionAttribute.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- DefinitionAttribute.java	25 Jun 2002 03:14:49 -0000	1.1
  +++ DefinitionAttribute.java	5 Jan 2003 01:24:48 -0000	1.2
  @@ -62,11 +62,6 @@
   
   package org.apache.struts.tiles;
   
  -import javax.servlet.jsp.PageContext;
  -import javax.servlet.jsp.JspException;
  -import javax.servlet.ServletException;
  -import java.io.IOException;
  -
     /**
      * Attribute representing a Component Definition.
      * This attribute definition contains a Component definition.
  
  
  
  1.2       +3 -8      jakarta-struts/src/share/org/apache/struts/tiles/DefinitionNameAttribute.java
  
  Index: DefinitionNameAttribute.java
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/tiles/DefinitionNameAttribute.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- DefinitionNameAttribute.java	25 Jun 2002 03:14:49 -0000	1.1
  +++ DefinitionNameAttribute.java	5 Jan 2003 01:24:48 -0000	1.2
  @@ -62,11 +62,6 @@
   
   package org.apache.struts.tiles;
   
  -import javax.servlet.jsp.PageContext;
  -import javax.servlet.jsp.JspException;
  -import javax.servlet.ServletException;
  -import java.io.IOException;
  -
     /**
      * Component attribute.
      * Such attribute value represent an instance name.
  
  
  
  1.10      +3 -4      jakarta-struts/src/share/org/apache/struts/tiles/DefinitionsUtil.java
  
  Index: DefinitionsUtil.java
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/tiles/DefinitionsUtil.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- DefinitionsUtil.java	27 Dec 2002 10:49:34 -0000	1.9
  +++ DefinitionsUtil.java	5 Jan 2003 01:24:48 -0000	1.10
  @@ -74,7 +74,6 @@
   
   import org.apache.struts.tiles.definition.ComponentDefinitionsFactoryWrapper;
   import org.apache.struts.taglib.tiles.ComponentConstants;
  -import org.apache.struts.util.RequestUtils;
   
   import org.apache.commons.logging.Log;
   import org.apache.commons.logging.LogFactory;
  
  
  
  1.2       +3 -8      jakarta-struts/src/share/org/apache/struts/tiles/DirectStringAttribute.java
  
  Index: DirectStringAttribute.java
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/tiles/DirectStringAttribute.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- DirectStringAttribute.java	25 Jun 2002 03:14:49 -0000	1.1
  +++ DirectStringAttribute.java	5 Jan 2003 01:24:48 -0000	1.2
  @@ -62,11 +62,6 @@
   
   package org.apache.struts.tiles;
   
  -import javax.servlet.jsp.PageContext;
  -import javax.servlet.jsp.JspException;
  -import javax.servlet.ServletException;
  -import java.io.IOException;
  -
     /**
      * Component attribute.
      * Such attribute value represent a path used to include a JSP.
  
  
  
  1.2       +3 -8      jakarta-struts/src/share/org/apache/struts/tiles/PathAttribute.java
  
  Index: PathAttribute.java
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/tiles/PathAttribute.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- PathAttribute.java	25 Jun 2002 03:14:49 -0000	1.1
  +++ PathAttribute.java	5 Jan 2003 01:24:48 -0000	1.2
  @@ -62,11 +62,6 @@
   
   package org.apache.struts.tiles;
   
  -import javax.servlet.jsp.PageContext;
  -import javax.servlet.jsp.JspException;
  -import javax.servlet.ServletException;
  -import java.io.IOException;
  -
     /**
      * Component attribute.
      * Such attribute value represent a path used to include a JSP.
  
  
  
  1.18      +3 -4      jakarta-struts/src/share/org/apache/struts/tiles/TilesPlugin.java
  
  Index: TilesPlugin.java
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/tiles/TilesPlugin.java,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- TilesPlugin.java	29 Dec 2002 21:31:36 -0000	1.17
  +++ TilesPlugin.java	5 Jan 2003 01:24:48 -0000	1.18
  @@ -68,7 +68,6 @@
   
   import org.apache.commons.logging.Log;
   import org.apache.commons.logging.LogFactory;
  -import org.apache.struts.Globals;
   import org.apache.struts.action.ActionServlet;
   import org.apache.struts.action.PlugIn;
   import org.apache.struts.action.RequestProcessor;
  
  
  
  1.2       +2 -11     jakarta-struts/src/share/org/apache/struts/tiles/TilesUtilStrutsImpl.java
  
  Index: TilesUtilStrutsImpl.java
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/tiles/TilesUtilStrutsImpl.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TilesUtilStrutsImpl.java	27 Dec 2002 10:41:23 -0000	1.1
  +++ TilesUtilStrutsImpl.java	5 Jan 2003 01:24:48 -0000	1.2
  @@ -61,17 +61,8 @@
   
   package org.apache.struts.tiles;
   
  -import java.io.IOException;
  -
   import javax.servlet.ServletContext;
  -import javax.servlet.ServletException;
  -import javax.servlet.ServletRequest;
  -import javax.servlet.http.HttpServletRequest;
  -import javax.servlet.http.HttpServletResponse;
   
  -import org.apache.commons.logging.Log;
  -import org.apache.commons.logging.LogFactory;
  -import org.apache.struts.tiles.definition.ComponentDefinitionsFactoryWrapper;
   import org.apache.struts.util.RequestUtils;
   import org.apache.struts.config.ModuleConfig;
   
  
  
  
  1.3       +3 -5      jakarta-struts/src/share/org/apache/struts/tiles/TilesUtilStrutsModulesImpl.java
  
  Index: TilesUtilStrutsModulesImpl.java
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/tiles/TilesUtilStrutsModulesImpl.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- TilesUtilStrutsModulesImpl.java	29 Dec 2002 21:29:23 -0000	1.2
  +++ TilesUtilStrutsModulesImpl.java	5 Jan 2003 01:24:48 -0000	1.3
  @@ -69,8 +69,6 @@
   import javax.servlet.http.HttpServletRequest;
   import javax.servlet.http.HttpServletResponse;
   
  -import org.apache.commons.logging.Log;
  -import org.apache.commons.logging.LogFactory;
   import org.apache.struts.Globals;
   import org.apache.struts.config.ModuleConfig;
   import org.apache.struts.util.RequestUtils;
  
  
  
  1.7       +4 -14     jakarta-struts/src/share/org/apache/struts/tiles/actions/NoOpAction.java
  
  Index: NoOpAction.java
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/tiles/actions/NoOpAction.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- NoOpAction.java	29 Dec 2002 21:24:58 -0000	1.6
  +++ NoOpAction.java	5 Jan 2003 01:24:48 -0000	1.7
  @@ -62,22 +62,12 @@
   
   package org.apache.struts.tiles.actions;
   
  -import java.io.IOException;
  -import java.util.Locale;
  -import java.util.Vector;
  -import javax.servlet.RequestDispatcher;
  -import javax.servlet.ServletException;
   import javax.servlet.http.HttpServletRequest;
  -import javax.servlet.http.HttpSession;
   import javax.servlet.http.HttpServletResponse;
   import org.apache.struts.action.Action;
   import org.apache.struts.action.ActionForm;
   import org.apache.struts.action.ActionForward;
   import org.apache.struts.action.ActionMapping;
  -import org.apache.struts.action.ActionServlet;
  -import org.apache.struts.util.MessageResources;
  -
  -import org.apache.struts.util.RequestUtils;
   
   
   /**
  
  
  
  1.3       +4 -7      jakarta-struts/src/share/org/apache/struts/tiles/actions/ReloadDefinitionsAction.java
  
  Index: ReloadDefinitionsAction.java
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/tiles/actions/ReloadDefinitionsAction.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ReloadDefinitionsAction.java	11 Jul 2002 16:46:40 -0000	1.2
  +++ ReloadDefinitionsAction.java	5 Jan 2003 01:24:48 -0000	1.3
  @@ -66,13 +66,10 @@
   import org.apache.struts.tiles.DefinitionsFactoryException;
   import org.apache.struts.tiles.DefinitionsFactory;
   
  -import java.io.IOException;
   import java.io.PrintWriter;
  -import javax.servlet.ServletException;
   import javax.servlet.ServletContext;
   import javax.servlet.http.HttpServletRequest;
   import javax.servlet.http.HttpServletResponse;
  -import javax.servlet.http.HttpSession;
   import org.apache.struts.action.Action;
   import org.apache.struts.action.ActionForm;
   import org.apache.struts.action.ActionForward;
  
  
  
  1.3       +4 -8      jakarta-struts/src/share/org/apache/struts/tiles/actions/ViewDefinitionsAction.java
  
  Index: ViewDefinitionsAction.java
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/tiles/actions/ViewDefinitionsAction.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ViewDefinitionsAction.java	11 Jul 2002 16:46:40 -0000	1.2
  +++ ViewDefinitionsAction.java	5 Jan 2003 01:24:48 -0000	1.3
  @@ -63,16 +63,12 @@
   package org.apache.struts.tiles.actions;
   
   import org.apache.struts.tiles.DefinitionsUtil;
  -import org.apache.struts.tiles.DefinitionsFactoryException;
   import org.apache.struts.tiles.DefinitionsFactory;
   
  -import java.io.IOException;
   import java.io.PrintWriter;
  -import javax.servlet.ServletException;
   import javax.servlet.ServletContext;
   import javax.servlet.http.HttpServletRequest;
   import javax.servlet.http.HttpServletResponse;
  -import javax.servlet.http.HttpSession;
   import org.apache.struts.action.Action;
   import org.apache.struts.action.ActionForm;
   import org.apache.struts.action.ActionForward;
  
  
  

--
To unsubscribe, e-mail:   <mailto:struts-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-dev-help@jakarta.apache.org>


Mime
View raw message