Fix warnings due to unused import statements

This commit is contained in:
Phillip Webb
2012-12-18 18:13:46 -08:00
committed by Chris Beams
parent fe039030a0
commit 731d5be644
81 changed files with 7 additions and 168 deletions

View File

@@ -19,8 +19,8 @@ package org.springframework.aop.config;
import java.lang.reflect.Method;
import static org.easymock.EasyMock.*;
import org.junit.After;
import static org.junit.Assert.*;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;

View File

@@ -16,7 +16,6 @@
package org.springframework.context.annotation;
import java.lang.annotation.Documented;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Retention;
import java.lang.annotation.ElementType;

View File

@@ -24,12 +24,10 @@ import test.beans.TestBean;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Lazy;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;
import static org.hamcrest.CoreMatchers.*;

View File

@@ -18,10 +18,6 @@ package org.springframework.context.annotation5;
import example.scannable.FooDao;
import org.springframework.context.annotation.Lazy;
import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Repository;
/**
* @author Juergen Hoeller
*/

View File

@@ -19,7 +19,6 @@ package org.springframework.context.event;
import static org.easymock.EasyMock.*;
import static org.junit.Assert.assertTrue;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.springframework.aop.framework.ProxyFactory;

View File

@@ -18,7 +18,6 @@ package org.springframework.jmx.export.assembler;
import java.util.HashMap;
import java.util.Map;
import java.util.Arrays;
import javax.management.Descriptor;
import javax.management.MBeanInfo;

View File

@@ -19,8 +19,6 @@ package org.springframework.jmx.export.assembler;
import javax.management.modelmbean.ModelMBeanAttributeInfo;
import javax.management.modelmbean.ModelMBeanInfo;
import org.junit.Ignore;
/**
* @author Rob Harrop
*/

View File

@@ -22,8 +22,6 @@ import javax.management.MBeanAttributeInfo;
import javax.management.modelmbean.ModelMBeanAttributeInfo;
import javax.management.modelmbean.ModelMBeanInfo;
import org.junit.Ignore;
/**
* @author Rob Harrop
*/

View File

@@ -21,7 +21,6 @@ import java.util.concurrent.ConcurrentHashMap;
import javax.naming.NamingException;
import org.springframework.core.CollectionFactory;
import org.springframework.jndi.JndiTemplate;
/**

View File

@@ -31,6 +31,9 @@ import org.junit.Ignore;
import org.junit.Test;
import org.springframework.core.task.NoOpRunnable;
import static org.mockito.Mockito.*;
/**
* @author Rick Evans
* @author Juergen Hoeller

View File

@@ -17,12 +17,11 @@
package org.springframework.scripting.support;
import java.io.ByteArrayInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import junit.framework.TestCase;
import org.easymock.MockControl;
import org.easymock.MockControl;
import org.springframework.core.io.ByteArrayResource;
import org.springframework.core.io.Resource;