1. opensymphony
  2. xwork

Commits

jmitchell  committed b22762c

Remove unused and duplicate imports

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

  • Participants
  • Parent commits da28fae
  • Branches master

Comments (0)

Files changed (47)

File pom.xml

View file
  • Ignore whitespace
             <scope>test</scope>
         </dependency>
     </dependencies>
+
 </project>

File src/java/com/opensymphony/xwork2/ActionContext.java

View file
  • Ignore whitespace
 package com.opensymphony.xwork2;
 
 import com.opensymphony.xwork2.util.ValueStack;
-import com.opensymphony.xwork2.util.ValueStack;
 import com.opensymphony.xwork2.util.ValueStackFactory;
 
 import java.io.Serializable;

File src/java/com/opensymphony/xwork2/ActionProxy.java

View file
  • Ignore whitespace
 package com.opensymphony.xwork2;
 
 import com.opensymphony.xwork2.config.Configuration;
-import com.opensymphony.xwork2.config.RuntimeConfiguration;
 import com.opensymphony.xwork2.config.entities.ActionConfig;
 
 

File src/java/com/opensymphony/xwork2/ActionProxyFactory.java

View file
  • Ignore whitespace
 import java.util.Map;
 
 import com.opensymphony.xwork2.config.Configuration;
-import com.opensymphony.xwork2.config.ConfigurationManager;
 
 
 /**

File src/java/com/opensymphony/xwork2/DefaultActionInvocation.java

View file
  • Ignore whitespace
 import com.opensymphony.xwork2.config.entities.ActionConfig;
 import com.opensymphony.xwork2.config.entities.InterceptorMapping;
 import com.opensymphony.xwork2.config.entities.ResultConfig;
-import com.opensymphony.xwork2.inject.Inject;
 import com.opensymphony.xwork2.interceptor.PreResultListener;
 import com.opensymphony.xwork2.util.ValueStack;
 import com.opensymphony.xwork2.util.ValueStackFactory;

File src/java/com/opensymphony/xwork2/DefaultActionProxy.java

View file
  • Ignore whitespace
 import com.opensymphony.xwork2.config.Configuration;
 import com.opensymphony.xwork2.config.ConfigurationException;
 import com.opensymphony.xwork2.config.entities.ActionConfig;
-import com.opensymphony.xwork2.inject.Inject;
 import com.opensymphony.xwork2.util.LocalizedTextUtil;
 import com.opensymphony.xwork2.util.profiling.UtilTimerStack;
 

File src/java/com/opensymphony/xwork2/XWorkException.java

View file
  • Ignore whitespace
  */
 package com.opensymphony.xwork2;
 
-import java.io.BufferedReader;
-import java.io.InputStream;
-import java.io.InputStreamReader;
-
-import java.util.List;
-import java.util.ArrayList;
-
-import java.net.URL;
-
 import com.opensymphony.xwork2.util.location.Locatable;
 import com.opensymphony.xwork2.util.location.Location;
 import com.opensymphony.xwork2.util.location.LocationUtils;

File src/java/com/opensymphony/xwork2/XWorkTestCase.java

View file
  • Ignore whitespace
 import com.opensymphony.xwork2.util.LocalizedTextUtil;
 import com.opensymphony.xwork2.util.OgnlValueStack;
 import com.opensymphony.xwork2.util.ValueStack;
-import com.opensymphony.xwork2.util.ValueStack;
 import com.opensymphony.xwork2.util.XWorkConverter;
 import junit.framework.TestCase;
 

File src/java/com/opensymphony/xwork2/util/ClassLoaderUtil.java

View file
  • Ignore whitespace
 
 import java.io.IOException;
 import java.io.InputStream;
-import java.io.NotSerializableException;
 
 import java.net.URL;
 import java.util.*;

File src/java/com/opensymphony/xwork2/util/OgnlValueStack.java

View file
  • Ignore whitespace
  */
 package com.opensymphony.xwork2.util;
 
-import com.opensymphony.xwork2.ActionContext;
 import com.opensymphony.xwork2.DefaultTextProvider;
 import com.opensymphony.xwork2.XWorkException;
 import com.opensymphony.xwork2.inject.Inject;

File src/java/com/opensymphony/xwork2/util/location/Location.java

View file
  • Ignore whitespace
  */
 package com.opensymphony.xwork2.util.location;
 
-import java.io.BufferedReader;
-import java.io.InputStream;
-import java.io.InputStreamReader;
-import java.net.URL;
-import java.util.ArrayList;
 import java.util.List;
 
 

File src/java/com/opensymphony/xwork2/util/location/LocationUtils.java

View file
  • Ignore whitespace
 package com.opensymphony.xwork2.util.location;
 
 import java.lang.ref.WeakReference;
-import java.net.URISyntaxException;
 import java.net.URL;
 import java.util.ArrayList;
 import java.util.List;

File src/java/com/opensymphony/xwork2/validator/annotations/ValidationParameter.java

View file
  • Ignore whitespace
 package com.opensymphony.xwork2.validator.annotations;
 
 import java.lang.annotation.ElementType;
-import java.lang.annotation.Inherited;
 import java.lang.annotation.Retention;
 import java.lang.annotation.RetentionPolicy;
 import java.lang.annotation.Target;

File src/java/com/opensymphony/xwork2/validator/annotations/Validations.java

View file
  • Ignore whitespace
 import com.opensymphony.xwork2.validator.annotations.CustomValidator;
 
 import java.lang.annotation.ElementType;
-import java.lang.annotation.Inherited;
 import java.lang.annotation.Retention;
 import java.lang.annotation.RetentionPolicy;
 import java.lang.annotation.Target;

File src/test/com/opensymphony/xwork2/ActionContextTest.java

View file
  • Ignore whitespace
 package com.opensymphony.xwork2;
 
 import com.opensymphony.xwork2.util.ValueStack;
-import com.opensymphony.xwork2.util.ValueStack;
 import com.opensymphony.xwork2.util.ValueStackFactory;
 
 import junit.framework.TestCase;

File src/test/com/opensymphony/xwork2/ActionInvocationTest.java

View file
  • Ignore whitespace
  */
 package com.opensymphony.xwork2;
 
-import junit.framework.TestCase;
-
 import java.util.HashMap;
 
 import com.opensymphony.xwork2.config.providers.XmlConfigurationProvider;

File src/test/com/opensymphony/xwork2/ActionNestingTest.java

View file
  • Ignore whitespace
 import com.opensymphony.xwork2.inject.ContainerBuilder;
 import com.opensymphony.xwork2.mock.MockResult;
 import com.opensymphony.xwork2.util.ValueStack;
-import com.opensymphony.xwork2.util.ValueStack;
 import com.opensymphony.xwork2.util.ValueStackFactory;
 import com.opensymphony.xwork2.util.location.LocatableProperties;
 

File src/test/com/opensymphony/xwork2/ActionSupportTest.java

View file
  • Ignore whitespace
 import java.util.ArrayList;
 
 import com.opensymphony.xwork2.util.ValueStack;
-import com.opensymphony.xwork2.util.ValueStack;
 import com.opensymphony.xwork2.util.ValueStackFactory;
 
 /**

File src/test/com/opensymphony/xwork2/ChainResultTest.java

View file
  • Ignore whitespace
 import com.opensymphony.xwork2.config.Configuration;
 import com.opensymphony.xwork2.config.providers.XmlConfigurationProvider;
 import com.opensymphony.xwork2.util.ValueStack;
-import com.opensymphony.xwork2.util.ValueStack;
 import com.opensymphony.xwork2.util.ValueStackFactory;
 
 import junit.framework.TestCase;

File src/test/com/opensymphony/xwork2/DefaultTextProviderTest.java

View file
  • Ignore whitespace
 
 import com.opensymphony.xwork2.util.LocalizedTextUtil;
 import com.opensymphony.xwork2.util.ValueStack;
-import com.opensymphony.xwork2.util.ValueStack;
 import com.opensymphony.xwork2.util.ValueStackFactory;
 
 /**

File src/test/com/opensymphony/xwork2/LocaleAwareTest.java

View file
  • Ignore whitespace
  */
 package com.opensymphony.xwork2;
 
-import com.opensymphony.xwork2.config.Configuration;
 import com.opensymphony.xwork2.config.ConfigurationManager;
 import com.opensymphony.xwork2.config.providers.MockConfigurationProvider;
 import com.opensymphony.xwork2.config.providers.XmlConfigurationProvider;
 import com.opensymphony.xwork2.util.ValueStack;
-import com.opensymphony.xwork2.util.ValueStack;
 import com.opensymphony.xwork2.util.ValueStackFactory;
 
-import junit.framework.TestCase;
-
 import java.util.Locale;
 
 

File src/test/com/opensymphony/xwork2/WildCardResultTest.java

View file
  • Ignore whitespace
 
 import com.opensymphony.xwork2.mock.MockResult;
 import com.opensymphony.xwork2.config.providers.XmlConfigurationProvider;
-import junit.framework.TestCase;
 
 /**
  * <code>WildCardResultTest</code>

File src/test/com/opensymphony/xwork2/config/ConfigurationManagerTest.java

View file
  • Ignore whitespace
 import com.opensymphony.xwork2.util.FileManager;
 import com.opensymphony.xwork2.XWorkTestCase;
 
-import junit.framework.TestCase;
-
 
 /**
  * ConfigurationManagerTest

File src/test/com/opensymphony/xwork2/config/entities/ActionConfigTest.java

View file
  • Ignore whitespace
 import com.opensymphony.xwork2.util.location.LocationImpl;
 import com.opensymphony.xwork2.XWorkTestCase;
 
-import java.util.HashMap;
-
-
 /**
  * ActionConfigTest
  */

File src/test/com/opensymphony/xwork2/config/providers/ConfigurationTestBase.java

View file
  • Ignore whitespace
 
 import com.opensymphony.xwork2.ObjectFactory;
 import com.opensymphony.xwork2.XWorkTestCase;
-import com.opensymphony.xwork2.config.Configuration;
 import com.opensymphony.xwork2.config.ConfigurationProvider;
 import com.opensymphony.xwork2.config.impl.MockConfiguration;
 

File src/test/com/opensymphony/xwork2/interceptor/ParametersInterceptorTest.java

View file
  • Ignore whitespace
 import com.opensymphony.xwork2.mock.MockActionInvocation;
 import com.opensymphony.xwork2.util.OgnlValueStack;
 import com.opensymphony.xwork2.util.ValueStack;
-import com.opensymphony.xwork2.util.ValueStack;
-
-import junit.framework.TestCase;
 
 import java.util.HashMap;
 import java.util.Map;

File src/test/com/opensymphony/xwork2/interceptor/PreResultListenerTest.java

View file
  • Ignore whitespace
 import com.opensymphony.xwork2.inject.ContainerBuilder;
 import com.opensymphony.xwork2.util.location.LocatableProperties;
 
-import junit.framework.TestCase;
-
 import java.util.HashMap;
 import java.util.Properties;
 

File src/test/com/opensymphony/xwork2/interceptor/ScopedModelDrivenInterceptorTest.java

View file
  • Ignore whitespace
 
 import java.util.HashMap;
 
-import junit.framework.TestCase;
-
 import com.opensymphony.xwork2.ActionContext;
 import com.opensymphony.xwork2.ObjectFactory;
 import com.opensymphony.xwork2.XWorkTestCase;
-import com.opensymphony.xwork2.config.ConfigurationManager;
 
 public class ScopedModelDrivenInterceptorTest extends XWorkTestCase {
 

File src/test/com/opensymphony/xwork2/spring/ActionsFromSpringTest.java

View file
  • Ignore whitespace
 package com.opensymphony.xwork2.spring;
 
 import com.opensymphony.xwork2.*;
-import com.opensymphony.xwork2.config.impl.MockConfiguration;
 import com.opensymphony.xwork2.config.providers.XmlConfigurationProvider;
 
 import org.springframework.context.ApplicationContext;
-import org.springframework.context.support.ClassPathXmlApplicationContext;
 
 /**
  * Test loading actions from the Spring Application Context.

File src/test/com/opensymphony/xwork2/spring/interceptor/ActionAutowiringInterceptorTest.java

View file
  • Ignore whitespace
 
 import com.opensymphony.xwork2.*;
 import com.opensymphony.xwork2.config.providers.XmlConfigurationProvider;
-import junit.framework.TestCase;
+
 import org.springframework.context.ApplicationContext;
 import org.springframework.web.context.WebApplicationContext;
 import org.springframework.web.context.support.StaticWebApplicationContext;

File src/test/com/opensymphony/xwork2/util/SetPropertiesTest.java

View file
  • Ignore whitespace
  */
 package com.opensymphony.xwork2.util;
 
-import junit.framework.TestCase;
-import ognl.Ognl;
+import java.util.ArrayList;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.HashSet;
+import java.util.Iterator;
+import java.util.Map;
 
-import java.util.*;
+import ognl.Ognl;
 
 import com.opensymphony.xwork2.XWorkTestCase;
 import com.opensymphony.xwork2.mock.MockObjectTypeDeterminer;

File src/test/com/opensymphony/xwork2/util/XWorkConverterTest.java

View file
  • Ignore whitespace
 import com.opensymphony.xwork2.config.ConfigurationManager;
 import com.opensymphony.xwork2.test.ModelDrivenAction2;
 import com.opensymphony.xwork2.test.User;
+
 import ognl.OgnlException;
 import ognl.OgnlRuntime;
 

File src/test/com/opensymphony/xwork2/util/XWorkListTest.java

View file
  • Ignore whitespace
  */
 package com.opensymphony.xwork2.util;
 
-import junit.framework.TestCase;
-
 import java.util.ArrayList;
 
 import com.opensymphony.xwork2.XWorkTestCase;

File src/test/com/opensymphony/xwork2/util/XWorkMapTest.java

View file
  • Ignore whitespace
 
 import com.opensymphony.xwork2.XWorkTestCase;
 import com.opensymphony.xwork2.test.User;
-import junit.framework.TestCase;
 
 import java.util.Map;
 

File src/test/com/opensymphony/xwork2/util/location/LocationImplTest.java

View file
  • Ignore whitespace
 import java.util.List;
 
 import com.opensymphony.xwork2.util.ClassLoaderUtil;
-import com.opensymphony.xwork2.XWorkException;
 
 import junit.framework.TestCase;
 

File src/test/com/opensymphony/xwork2/validator/ConversionErrorFieldValidatorTest.java

View file
  • Ignore whitespace
 import com.opensymphony.xwork2.ValidationAware;
 import com.opensymphony.xwork2.ValidationAwareSupport;
 import com.opensymphony.xwork2.util.ValueStack;
-import com.opensymphony.xwork2.util.ValueStack;
 import com.opensymphony.xwork2.util.ValueStackFactory;
 import com.opensymphony.xwork2.validator.validators.ConversionErrorFieldValidator;
 import junit.framework.TestCase;

File src/test/com/opensymphony/xwork2/validator/DateRangeValidatorTest.java

View file
  • Ignore whitespace
 import com.opensymphony.xwork2.config.providers.MockConfigurationProvider;
 import com.opensymphony.xwork2.config.providers.XmlConfigurationProvider;
 import com.opensymphony.xwork2.validator.validators.DateRangeFieldValidator;
-import junit.framework.TestCase;
 
 import java.util.*;
 

File src/test/com/opensymphony/xwork2/validator/DoubleRangeValidatorTest.java

View file
  • Ignore whitespace
 import com.opensymphony.xwork2.util.ValueStack;
 import com.opensymphony.xwork2.util.ValueStackFactory;
 import com.opensymphony.xwork2.validator.validators.DoubleRangeFieldValidator;
-import junit.framework.TestCase;
 
 import java.util.Iterator;
 import java.util.List;

File src/test/com/opensymphony/xwork2/validator/EmailValidatorTest.java

View file
  • Ignore whitespace
 import com.opensymphony.xwork2.XWorkTestCase;
 import com.opensymphony.xwork2.validator.validators.EmailValidator;
 
-import junit.framework.TestCase;
-
 /**
  * Test case for Email Validator
  * 

File src/test/com/opensymphony/xwork2/validator/ExpressionValidatorTest.java

View file
  • Ignore whitespace
 import com.opensymphony.xwork2.config.providers.MockConfigurationProvider;
 import com.opensymphony.xwork2.config.providers.XmlConfigurationProvider;
 import com.opensymphony.xwork2.util.ValueStack;
-import com.opensymphony.xwork2.util.ValueStack;
 import com.opensymphony.xwork2.util.ValueStackFactory;
 import com.opensymphony.xwork2.validator.validators.ExpressionValidator;
-import junit.framework.TestCase;
 
 import java.util.Collection;
 import java.util.HashMap;

File src/test/com/opensymphony/xwork2/validator/IntRangeValidatorTest.java

View file
  • Ignore whitespace
 import com.opensymphony.xwork2.config.providers.MockConfigurationProvider;
 import com.opensymphony.xwork2.config.providers.XmlConfigurationProvider;
 
-import junit.framework.TestCase;
-
 import java.util.HashMap;
 import java.util.List;
 import java.util.Map;

File src/test/com/opensymphony/xwork2/validator/ModelDrivenValidationTest.java

View file
  • Ignore whitespace
 
 import com.opensymphony.xwork2.*;
 import com.opensymphony.xwork2.config.providers.XmlConfigurationProvider;
-import junit.framework.TestCase;
 
 import java.util.HashMap;
 import java.util.List;

File src/test/com/opensymphony/xwork2/validator/SimpleActionValidationTest.java

View file
  • Ignore whitespace
 import com.opensymphony.xwork2.config.providers.MockConfigurationProvider;
 import com.opensymphony.xwork2.config.providers.XmlConfigurationProvider;
 import com.opensymphony.xwork2.util.ValueStack;
-import com.opensymphony.xwork2.util.ValueStack;
 import com.opensymphony.xwork2.util.ValueStackFactory;
 import com.opensymphony.xwork2.validator.validators.ValidatorSupport;
-import junit.framework.TestCase;
 
 import java.util.*;
 

File src/test/com/opensymphony/xwork2/validator/StringValidatorTest.java

View file
  • Ignore whitespace
 import com.opensymphony.xwork2.config.providers.MockConfigurationProvider;
 import com.opensymphony.xwork2.test.Equidae;
 import com.opensymphony.xwork2.util.ValueStack;
-import com.opensymphony.xwork2.util.ValueStack;
 import com.opensymphony.xwork2.util.ValueStackFactory;
 import com.opensymphony.xwork2.validator.validators.RequiredStringValidator;
-import junit.framework.TestCase;
 
 import java.util.List;
 import java.util.Map;

File src/test/com/opensymphony/xwork2/validator/ValidatorFileParserTest.java

View file
  • Ignore whitespace
 import com.opensymphony.xwork2.XWorkException;
 import com.opensymphony.xwork2.XWorkTestCase;
 import com.opensymphony.xwork2.config.providers.MockConfigurationProvider;
-import junit.framework.TestCase;
 
 import java.io.InputStream;
 import java.util.List;

File src/test/com/opensymphony/xwork2/validator/VisitorFieldValidatorModelTest.java

View file
  • Ignore whitespace
 import com.opensymphony.xwork2.TestBean;
 import com.opensymphony.xwork2.test.TestBean2;
 import com.opensymphony.xwork2.util.ValueStack;
-import com.opensymphony.xwork2.util.ValueStack;
 import com.opensymphony.xwork2.util.ValueStackFactory;
 
 import junit.framework.TestCase;

File src/test/com/opensymphony/xwork2/validator/VisitorFieldValidatorTest.java

View file
  • Ignore whitespace
 import com.opensymphony.xwork2.ActionContext;
 import com.opensymphony.xwork2.ObjectFactory;
 import com.opensymphony.xwork2.TestBean;
-import com.opensymphony.xwork2.config.ConfigurationManager;
-import com.opensymphony.xwork2.util.ValueStack;
 import com.opensymphony.xwork2.util.ValueStack;
 import com.opensymphony.xwork2.util.ValueStackFactory;