Commits

unkyaku  committed 0130589

Standardize formatting; cleanup.

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

  • Participants
  • Parent commits cdc5997

Comments (0)

Files changed (2)

File src/java/com/opensymphony/xwork/config/providers/XmlConfigurationProvider.java

 import com.opensymphony.util.ClassLoaderUtil;
 import com.opensymphony.util.FileManager;
 import com.opensymphony.util.TextUtils;
+
 import com.opensymphony.xwork.Action;
 import com.opensymphony.xwork.ObjectFactory;
 import com.opensymphony.xwork.config.*;
 import com.opensymphony.xwork.config.entities.*;
+
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
+
 import org.w3c.dom.Document;
 import org.w3c.dom.Element;
 import org.w3c.dom.Node;
 import org.w3c.dom.NodeList;
+
 import org.xml.sax.*;
 
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
 import java.io.IOException;
 import java.io.InputStream;
+
 import java.util.*;
 
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+
 
 /**
  * Looks in the classpath for "xwork.xml" and uses it for the XWork configuration.
                 });
             loadConfigurationFile(configFileName, db);
         } catch (Exception e) {
-            LOG.fatal("Could not load XWork configuration file, failing");
+            LOG.fatal("Could not load XWork configuration file, failing", e);
             throw new ConfigurationException("Error loading configuration file " + configFileName, e);
         }
     }
             Element interceptorElement = (Element) interceptorList.item(i);
             String name = interceptorElement.getAttribute("name");
             String className = interceptorElement.getAttribute("class");
-            Class clazz = null;
 
             Map params = XmlHelper.getParams(interceptorElement);
             InterceptorConfig config = null;

File src/java/com/opensymphony/xwork/validator/validators/FieldExpressionValidator.java

  */
 package com.opensymphony.xwork.validator.validators;
 
-import com.opensymphony.xwork.ActionContext;
-import com.opensymphony.xwork.util.OgnlValueStack;
 import com.opensymphony.xwork.validator.ValidationException;
 
 
 /**
- *
+ * Validates a field using an OGNL expression.
  *
  * @author $Author$
  * @version $Revision$