Commits

davsclaus  committed e7f0cd0

removed unused imports

git-svn-id: http://svn.opensymphony.com/svn/xwork/trunk/src@1003e221344d-f017-0410-9bd5-d282ab1896d7

  • Participants
  • Parent commits afed189

Comments (0)

Files changed (4)

File java/com/opensymphony/xwork/XworkException.java

  */
 package com.opensymphony.xwork;
 
-import java.io.PrintStream;
-import java.io.PrintWriter;
 import java.io.BufferedReader;
 import java.io.InputStream;
 import java.io.InputStreamReader;
 import com.opensymphony.xwork.util.location.Location;
 import com.opensymphony.xwork.util.location.LocationUtils;
 
-import com.opensymphony.util.FileManager;
-
-
-
 
 /**
  * A generic runtime exception that optionally contains Location information 
  *
  * @author Jason Carreira
- *         Created Sep 7, 2003 12:15:03 AM
  */
 public class XworkException extends RuntimeException implements Locatable {
 
 
 
     /**
-     * Constructs a <code>XworkException</code> with no detail  message.
+     * Constructs a <code>XworkException</code> with no detail message.
      */
     public XworkException() {
     }
 
 
     /**
-     *  Gets the underlying cause
+     * Gets the underlying cause
      * 
      * @deprecated Use getCause()
      */
 
 
     /**
-     *  Gets the location of the error, if available
+     * Gets the location of the error, if available
      */
     public Location getLocation() {
         return this.location;
     
     
     /**
-     *  Gets a source code snippet with the default padding
+     * Gets a source code snippet with the default padding
      */
     public List getSnippet() {
         return getSnippet(2);
     
     
     /**
-     *  Gets a source code snippet with the default padding
+     * Gets a source code snippet with the default padding
      *
      * @param padding The amount of lines before and after the error to include
      */

File java/com/opensymphony/xwork/config/ConfigurationException.java

 package com.opensymphony.xwork.config;
 
 import com.opensymphony.xwork.XworkException;
-import com.opensymphony.xwork.util.location.Location;
 
 
 /**
  * ConfigurationException
  *
  * @author Jason Carreira
- *         Created Feb 24, 2003 8:15:08 AM
  */
 public class ConfigurationException extends XworkException {
 
     /**
-     * Constructs a <code>ConfigurationException</code> with no detail  message.
+     * Constructs a <code>ConfigurationException</code> with no detail message.
      */
     public ConfigurationException() {
     }
     }
 
     /**
-     * Constructs a <code>ConfigurationException</code> with no detail  message.
+     * Constructs a <code>ConfigurationException</code> with no detail message.
      */
     public ConfigurationException(Throwable cause) {
         super(cause);
     }
     
     /**
-     * Constructs a <code>ConfigurationException</code> with no detail  message.
+     * Constructs a <code>ConfigurationException</code> with no detail message.
      */
     public ConfigurationException(Throwable cause, Object target) {
         super(cause, target);

File java/com/opensymphony/xwork/util/DomHelper.java

  */
 package com.opensymphony.xwork.util;
 
-import java.io.IOException;
 import java.util.Map;
 
 import com.opensymphony.util.ClassLoaderUtil;
 import org.xml.sax.InputSource;
 import org.xml.sax.SAXException;
 import org.xml.sax.SAXParseException;
-import org.xml.sax.SAXNotSupportedException;
 import org.xml.sax.helpers.DefaultHandler;
 
 import org.apache.commons.logging.Log;

File java/com/opensymphony/xwork/validator/ValidatorFileParser.java

 import com.opensymphony.xwork.util.DomHelper;
 import com.opensymphony.xwork.XworkException;
 import org.w3c.dom.*;
-import org.xml.sax.EntityResolver;
-import org.xml.sax.ErrorHandler;
 import org.xml.sax.InputSource;
-import org.xml.sax.SAXParseException;
 
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
 import java.io.InputStream;
 import java.util.ArrayList;
 import java.util.HashMap;
 
     
     /**
-     *  Parses validator definitions
+     * Parses validator definitions
      *
      * @deprecated Use parseValidatorDefinitions(InputStream, String)
      * @param is The input stream
     
     
     /**
-     *  Parses validator definitions
+     * Parses validator definitions
      *
      * @since 1.2
      * @param is The input stream