martinc     2003/01/24 21:52:36

  Modified:    src/share/org/apache/struts/tiles ComponentDefinition.java
                        TilesServlet.java
               src/share/org/apache/struts/tiles/xmlDefinition
                        XmlParser.java
               src/share/org/apache/struts/util StrutsValidatorUtil.java
  Log:
  More unused imports/methods/variables cleanup, thanks to PMD.
  
  Revision  Changes    Path
  1.6       +3 -14     
jakarta-struts/src/share/org/apache/struts/tiles/ComponentDefinition.java
  
  Index: ComponentDefinition.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-struts/src/share/org/apache/struts/tiles/ComponentDefinition.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- ComponentDefinition.java  17 Dec 2002 00:57:36 -0000      1.5
  +++ ComponentDefinition.java  25 Jan 2003 05:52:35 -0000      1.6
  @@ -115,17 +115,6 @@
     private Controller controllerInstance;
   
     /**
  -   * Sets the value of the attributes property.
  -   *
  -   * @param aAttributes the new value of the attributes property
  -   * @deprecated No replacement
  -   */
  -  private void setAttributes(Map aAttributes)
  -    {
  -    attributes = aAttributes;
  -    }
  -
  -  /**
      * Constructor.
      */
     public ComponentDefinition()
  
  
  
  1.4       +3 -5      
jakarta-struts/src/share/org/apache/struts/tiles/TilesServlet.java
  
  Index: TilesServlet.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-struts/src/share/org/apache/struts/tiles/TilesServlet.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- TilesServlet.java 10 Oct 2002 16:32:27 -0000      1.3
  +++ TilesServlet.java 25 Jan 2003 05:52:35 -0000      1.4
  @@ -62,8 +62,6 @@
   
   package org.apache.struts.tiles;
   
  -import org.apache.struts.tiles.DefinitionsUtil;
  -import org.apache.struts.tiles.DefinitionsFactoryException;
   import org.apache.commons.logging.Log;
   import org.apache.commons.logging.LogFactory;
   
  
  
  
  1.7       +4 -4      
jakarta-struts/src/share/org/apache/struts/tiles/xmlDefinition/XmlParser.java
  
  Index: XmlParser.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-struts/src/share/org/apache/struts/tiles/xmlDefinition/XmlParser.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- XmlParser.java    11 Dec 2002 06:30:21 -0000      1.6
  +++ XmlParser.java    25 Jan 2003 05:52:35 -0000      1.7
  @@ -371,7 +371,7 @@
     System.out.println( "Read file '" + filename  +"'" );
   
     InputStream input = null;
  -  InputStream input2 = null;
  +  // InputStream input2 = null;
       // Open file
       try
         {
  
  
  
  1.9       +4 -5      
jakarta-struts/src/share/org/apache/struts/util/StrutsValidatorUtil.java
  
  Index: StrutsValidatorUtil.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-struts/src/share/org/apache/struts/util/StrutsValidatorUtil.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- StrutsValidatorUtil.java  22 Nov 2002 05:15:39 -0000      1.8
  +++ StrutsValidatorUtil.java  25 Jan 2003 05:52:35 -0000      1.9
  @@ -66,7 +66,6 @@
   import javax.servlet.http.HttpServletRequest;
   import org.apache.struts.action.ActionError;
   import org.apache.struts.action.ActionErrors;
  -import org.apache.struts.util.MessageResources;
   import org.apache.commons.validator.Field;
   import org.apache.commons.validator.Validator;
   import org.apache.commons.validator.ValidatorAction;
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to