Consistent whitespace after imports
Update code to have a consistent number of new-line characters after import statements.
This commit is contained in:
parent
15698860e1
commit
043a41e382
|
|
@ -22,7 +22,6 @@ import java.lang.annotation.RetentionPolicy;
|
|||
import org.aspectj.lang.ProceedingJoinPoint;
|
||||
import org.junit.Test;
|
||||
|
||||
|
||||
/**
|
||||
* Additional parameter name discover tests that need Java 5.
|
||||
* Yes this will re-run the tests from the superclass, but that
|
||||
|
|
|
|||
|
|
@ -31,7 +31,6 @@ import test.annotation.EmptySpringAnnotation;
|
|||
import test.annotation.transaction.Tx;
|
||||
import org.springframework.tests.sample.beans.TestBean;
|
||||
|
||||
|
||||
/**
|
||||
* Java5-specific {@link AspectJExpressionPointcutTests}.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -27,7 +27,6 @@ import org.springframework.aop.framework.AopConfigException;
|
|||
import test.aop.PerTargetAspect;
|
||||
import org.springframework.tests.sample.beans.TestBean;
|
||||
|
||||
|
||||
/**
|
||||
* @author Rod Johnson
|
||||
* @author Chris Beams
|
||||
|
|
|
|||
|
|
@ -25,7 +25,6 @@ import org.springframework.aop.aspectj.annotation.AbstractAspectJAdvisorFactoryT
|
|||
|
||||
import test.aop.PerTargetAspect;
|
||||
|
||||
|
||||
/**
|
||||
* @since 2.0
|
||||
* @author Rod Johnson
|
||||
|
|
|
|||
|
|
@ -31,7 +31,6 @@ import org.springframework.tests.aop.advice.MethodCounter;
|
|||
import static org.junit.Assert.*;
|
||||
import static org.mockito.BDDMockito.*;
|
||||
|
||||
|
||||
/**
|
||||
* @author Rod Johnson
|
||||
* @author Chris Beams
|
||||
|
|
|
|||
|
|
@ -32,7 +32,6 @@ import org.springframework.tests.aop.interceptor.NopInterceptor;
|
|||
import org.springframework.tests.sample.beans.TestBean;
|
||||
import org.springframework.util.SerializationTestUtils;
|
||||
|
||||
|
||||
/**
|
||||
* @author Rod Johnson
|
||||
* @author Chris Beams
|
||||
|
|
|
|||
|
|
@ -26,7 +26,6 @@ import org.springframework.tests.aop.interceptor.NopInterceptor;
|
|||
import org.springframework.tests.sample.beans.ITestBean;
|
||||
import org.springframework.tests.sample.beans.TestBean;
|
||||
|
||||
|
||||
/**
|
||||
* @author Rod Johnson
|
||||
* @author Chris Beams
|
||||
|
|
|
|||
|
|
@ -30,7 +30,6 @@ import org.springframework.tests.sample.beans.Person;
|
|||
import org.springframework.tests.sample.beans.SerializablePerson;
|
||||
import org.springframework.util.SerializationTestUtils;
|
||||
|
||||
|
||||
/**
|
||||
* @author Rod Johnson
|
||||
* @author Chris Beams
|
||||
|
|
|
|||
|
|
@ -31,7 +31,6 @@ import org.springframework.tests.sample.beans.Person;
|
|||
import org.springframework.tests.sample.beans.TestBean;
|
||||
import org.springframework.util.SerializationTestUtils;
|
||||
|
||||
|
||||
/**
|
||||
* @author Rod Johnson
|
||||
* @author Chris Beams
|
||||
|
|
|
|||
|
|
@ -36,8 +36,6 @@ import org.springframework.tests.sample.beans.SerializablePerson;
|
|||
import org.springframework.tests.sample.beans.SideEffectBean;
|
||||
import org.springframework.util.SerializationTestUtils;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Rod Johnson
|
||||
* @author Chris Beams
|
||||
|
|
|
|||
|
|
@ -28,7 +28,6 @@ import org.springframework.beans.factory.xml.XmlBeanDefinitionReader;
|
|||
import org.springframework.core.io.Resource;
|
||||
import org.springframework.tests.sample.beans.SideEffectBean;
|
||||
|
||||
|
||||
/**
|
||||
* @author Rod Johnson
|
||||
* @author Chris Beams
|
||||
|
|
|
|||
|
|
@ -29,7 +29,6 @@ import org.springframework.core.io.Resource;
|
|||
import org.springframework.tests.sample.beans.ITestBean;
|
||||
import org.springframework.tests.sample.beans.SideEffectBean;
|
||||
|
||||
|
||||
/**
|
||||
* @author Rod Johnson
|
||||
* @author Chris Beams
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@ import java.rmi.RemoteException;
|
|||
|
||||
import org.springframework.aop.ThrowsAdvice;
|
||||
|
||||
|
||||
@SuppressWarnings("serial")
|
||||
public class MyThrowsHandler extends MethodCounter implements ThrowsAdvice {
|
||||
// Full method signature
|
||||
|
|
|
|||
|
|
@ -20,7 +20,6 @@ import org.springframework.aop.support.DelegatingIntroductionInterceptor;
|
|||
import org.springframework.aop.support.DefaultIntroductionAdvisor;
|
||||
import org.springframework.tests.aop.interceptor.TimestampIntroductionInterceptor;
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Rod Johnson
|
||||
|
|
|
|||
|
|
@ -18,7 +18,6 @@ package org.springframework.tests.aop.interceptor;
|
|||
|
||||
import java.io.Serializable;
|
||||
|
||||
|
||||
/**
|
||||
* Subclass of NopInterceptor that is serializable and
|
||||
* can be used to test proxy serialization.
|
||||
|
|
|
|||
|
|
@ -28,7 +28,6 @@ import org.springframework.cache.config.CacheableService;
|
|||
import org.springframework.context.ApplicationContext;
|
||||
import org.springframework.context.support.GenericXmlApplicationContext;
|
||||
|
||||
|
||||
/**
|
||||
* @author Costin Leau
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -28,7 +28,6 @@ import org.junit.Test;
|
|||
import org.junit.runner.RunWith;
|
||||
import org.junit.runners.JUnit4;
|
||||
|
||||
|
||||
/**
|
||||
* Test for static entity mocking framework.
|
||||
* @author Rod Johnson
|
||||
|
|
|
|||
|
|
@ -33,7 +33,6 @@ import org.springframework.tests.sample.beans.DerivedTestBean;
|
|||
import org.springframework.tests.sample.beans.ITestBean;
|
||||
import org.springframework.tests.sample.beans.TestBean;
|
||||
|
||||
|
||||
/**
|
||||
* Unit tests for {@link BeanUtils}.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -67,7 +67,6 @@ import static org.hamcrest.Matchers.*;
|
|||
|
||||
import static org.junit.Assert.*;
|
||||
|
||||
|
||||
/**
|
||||
* @author Rod Johnson
|
||||
* @author Juergen Hoeller
|
||||
|
|
|
|||
|
|
@ -20,7 +20,6 @@ import static org.junit.Assert.*;
|
|||
|
||||
import org.junit.Test;
|
||||
|
||||
|
||||
/**
|
||||
* Tests for {@link MutablePropertyValues}.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -39,7 +39,6 @@ import org.springframework.tests.sample.beans.TestBean;
|
|||
import org.springframework.tests.sample.beans.factory.DummyFactory;
|
||||
import org.springframework.util.ObjectUtils;
|
||||
|
||||
|
||||
/**
|
||||
* @author Rod Johnson
|
||||
* @author Juergen Hoeller
|
||||
|
|
|
|||
|
|
@ -26,7 +26,6 @@ import org.springframework.beans.factory.support.DefaultSingletonBeanRegistry;
|
|||
import org.springframework.tests.sample.beans.DerivedTestBean;
|
||||
import org.springframework.tests.sample.beans.TestBean;
|
||||
|
||||
|
||||
/**
|
||||
* @author Juergen Hoeller
|
||||
* @author Chris Beams
|
||||
|
|
|
|||
|
|
@ -27,7 +27,6 @@ import org.springframework.beans.factory.xml.XmlBeanDefinitionReader;
|
|||
import org.springframework.core.io.Resource;
|
||||
import org.springframework.tests.sample.beans.TestBean;
|
||||
|
||||
|
||||
/**
|
||||
* Unit tests for {@link FieldRetrievingFactoryBean}.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -29,7 +29,6 @@ import org.springframework.core.io.Resource;
|
|||
import org.springframework.tests.sample.beans.ITestBean;
|
||||
import org.springframework.tests.sample.beans.TestBean;
|
||||
|
||||
|
||||
/**
|
||||
* Unit tests for {@link PropertyPathFactoryBean}.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -38,8 +38,6 @@ import org.springframework.core.io.ClassPathResource;
|
|||
import org.springframework.core.io.Resource;
|
||||
import org.springframework.tests.sample.beans.TestBean;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Unit tests for {@link PropertyPlaceholderConfigurer}.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -52,7 +52,6 @@ import org.springframework.core.io.Resource;
|
|||
import org.springframework.tests.sample.beans.IndexedTestBean;
|
||||
import org.springframework.tests.sample.beans.TestBean;
|
||||
|
||||
|
||||
/**
|
||||
* Unit tests for various {@link PropertyResourceConfigurer} implementations including:
|
||||
* {@link PropertyPlaceholderConfigurer}, {@link PropertyOverrideConfigurer} and
|
||||
|
|
|
|||
|
|
@ -30,7 +30,6 @@ import org.springframework.beans.factory.xml.XmlBeanDefinitionReader;
|
|||
import org.springframework.core.io.Resource;
|
||||
import org.springframework.tests.sample.beans.TestBean;
|
||||
|
||||
|
||||
/**
|
||||
* Simple test to illustrate and verify scope usage.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@ import junit.framework.TestCase;
|
|||
import org.springframework.beans.factory.config.BeanDefinition;
|
||||
import org.springframework.tests.sample.beans.TestBean;
|
||||
|
||||
|
||||
/**
|
||||
* @author Rod Johnson
|
||||
* @author Juergen Hoeller
|
||||
|
|
|
|||
|
|
@ -22,7 +22,6 @@ import org.springframework.beans.factory.config.BeanDefinition;
|
|||
import org.springframework.beans.factory.config.BeanDefinitionHolder;
|
||||
import org.springframework.tests.sample.beans.TestBean;
|
||||
|
||||
|
||||
/**
|
||||
* @author Juergen Hoeller
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -22,7 +22,6 @@ import org.springframework.beans.factory.config.BeanDefinition;
|
|||
import org.springframework.beans.factory.config.RuntimeBeanReference;
|
||||
import org.springframework.tests.sample.beans.TestBean;
|
||||
|
||||
|
||||
/**
|
||||
* @author Rob Harrop
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -20,7 +20,6 @@ import junit.framework.TestCase;
|
|||
import org.springframework.core.io.ClassPathResource;
|
||||
import org.springframework.tests.sample.beans.TestBean;
|
||||
|
||||
|
||||
/**
|
||||
* @author Rob Harrop
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -25,7 +25,6 @@ import org.springframework.tests.sample.beans.TestBean;
|
|||
|
||||
import static org.mockito.BDDMockito.*;
|
||||
|
||||
|
||||
/**
|
||||
* @author Rick Evans
|
||||
* @author Juergen Hoeller
|
||||
|
|
|
|||
|
|
@ -34,7 +34,6 @@ import org.springframework.tests.sample.beans.MustBeInitialized;
|
|||
import org.springframework.tests.sample.beans.TestBean;
|
||||
import org.springframework.tests.sample.beans.factory.DummyFactory;
|
||||
|
||||
|
||||
/**
|
||||
* Subclasses must implement setUp() to initialize bean factory
|
||||
* and any other variables they need.
|
||||
|
|
|
|||
|
|
@ -21,7 +21,6 @@ import org.springframework.beans.factory.FactoryBean;
|
|||
import org.springframework.beans.factory.ListableBeanFactory;
|
||||
import org.springframework.tests.sample.beans.TestBean;
|
||||
|
||||
|
||||
/**
|
||||
* @author Rod Johnson
|
||||
* @author Juergen Hoeller
|
||||
|
|
|
|||
|
|
@ -25,7 +25,6 @@ import org.springframework.beans.factory.support.RootBeanDefinition;
|
|||
import org.springframework.core.io.ClassPathResource;
|
||||
import org.springframework.tests.sample.beans.TestBean;
|
||||
|
||||
|
||||
/**
|
||||
* @author Rob Harrop
|
||||
* @author Juergen Hoeller
|
||||
|
|
|
|||
|
|
@ -29,7 +29,6 @@ import org.springframework.beans.factory.support.DefaultListableBeanFactory;
|
|||
import org.springframework.core.io.ClassPathResource;
|
||||
import org.springframework.tests.sample.beans.TestBean;
|
||||
|
||||
|
||||
/**
|
||||
* Unit and integration tests for the collection merging support.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -27,7 +27,6 @@ import org.springframework.beans.factory.support.DefaultListableBeanFactory;
|
|||
import org.springframework.core.io.ClassPathResource;
|
||||
import org.springframework.tests.sample.beans.TestBean;
|
||||
|
||||
|
||||
/**
|
||||
* @author Rob Harrop
|
||||
* @author Juergen Hoeller
|
||||
|
|
|
|||
|
|
@ -21,7 +21,6 @@ import java.io.Serializable;
|
|||
import org.springframework.tests.sample.beans.IndexedTestBean;
|
||||
import org.springframework.tests.sample.beans.TestBean;
|
||||
|
||||
|
||||
/**
|
||||
* Simple bean used to check constructor dependency checking.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@ package org.springframework.beans.factory.xml;
|
|||
import org.springframework.beans.factory.FactoryBean;
|
||||
import org.springframework.tests.sample.beans.TestBean;
|
||||
|
||||
|
||||
/**
|
||||
* @author Juergen Hoeller
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -25,8 +25,6 @@ import org.springframework.beans.factory.support.DefaultListableBeanFactory;
|
|||
import org.springframework.core.io.ClassPathResource;
|
||||
import org.springframework.tests.sample.beans.TestBean;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* With Spring 3.1, bean id attributes (and all other id attributes across the
|
||||
* core schemas) are no longer typed as xsd:id, but as xsd:string. This allows
|
||||
|
|
|
|||
|
|
@ -21,7 +21,6 @@ import java.util.List;
|
|||
|
||||
import org.springframework.tests.sample.beans.TestBean;
|
||||
|
||||
|
||||
/**
|
||||
* Test class for Spring's ability to create objects using static
|
||||
* factory methods, rather than constructors.
|
||||
|
|
|
|||
|
|
@ -27,7 +27,6 @@ import org.springframework.beans.factory.support.DefaultListableBeanFactory;
|
|||
import org.springframework.core.io.ClassPathResource;
|
||||
import org.springframework.tests.sample.beans.TestBean;
|
||||
|
||||
|
||||
/**
|
||||
* Tests for propagating enclosing beans element defaults to nested beans elements.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@ import org.springframework.beans.factory.support.DefaultListableBeanFactory;
|
|||
import org.springframework.core.io.ClassPathResource;
|
||||
import org.springframework.tests.sample.beans.TestBean;
|
||||
|
||||
|
||||
/**
|
||||
* @author Rob Harrop
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -25,7 +25,6 @@ import org.springframework.core.io.ClassPathResource;
|
|||
import org.springframework.tests.sample.beans.DummyBean;
|
||||
import org.springframework.tests.sample.beans.TestBean;
|
||||
|
||||
|
||||
/**
|
||||
* @author Costin Leau
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -25,7 +25,6 @@ import org.springframework.core.io.ClassPathResource;
|
|||
import org.springframework.tests.sample.beans.ITestBean;
|
||||
import org.springframework.tests.sample.beans.TestBean;
|
||||
|
||||
|
||||
/**
|
||||
* @author Rob Harrop
|
||||
* @author Juergen Hoeller
|
||||
|
|
|
|||
|
|
@ -45,7 +45,6 @@ import org.springframework.core.io.ClassPathResource;
|
|||
import org.springframework.tests.sample.beans.HasMap;
|
||||
import org.springframework.tests.sample.beans.TestBean;
|
||||
|
||||
|
||||
/**
|
||||
* Tests for collections in XML bean definitions.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -33,7 +33,6 @@ import org.springframework.tests.sample.beans.LifecycleBean;
|
|||
import org.springframework.tests.sample.beans.TestBean;
|
||||
import org.springframework.tests.sample.beans.factory.DummyFactory;
|
||||
|
||||
|
||||
/**
|
||||
* @author Juergen Hoeller
|
||||
* @since 09.11.2003
|
||||
|
|
|
|||
|
|
@ -50,7 +50,6 @@ import org.springframework.tests.sample.beans.IndexedTestBean;
|
|||
import org.springframework.tests.sample.beans.NumberTestBean;
|
||||
import org.springframework.tests.sample.beans.TestBean;
|
||||
|
||||
|
||||
/**
|
||||
* Unit tests for the various PropertyEditors in Spring.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -44,7 +44,6 @@ public class CollectingReaderEventListener implements ReaderEventListener {
|
|||
|
||||
private final List imports = new LinkedList();
|
||||
|
||||
|
||||
@Override
|
||||
public void defaultsRegistered(DefaultsDefinition defaultsDefinition) {
|
||||
this.defaults.add(defaultsDefinition);
|
||||
|
|
|
|||
|
|
@ -26,7 +26,6 @@ import org.springframework.beans.factory.InitializingBean;
|
|||
import org.springframework.beans.factory.config.AutowireCapableBeanFactory;
|
||||
import org.springframework.tests.sample.beans.TestBean;
|
||||
|
||||
|
||||
/**
|
||||
* Simple factory to allow testing of FactoryBean support in AbstractBeanFactory.
|
||||
* Depending on whether its singleton property is set, it will return a singleton
|
||||
|
|
|
|||
|
|
@ -18,7 +18,6 @@ package org.springframework.tests.sample.beans;
|
|||
|
||||
import java.util.Set;
|
||||
|
||||
|
||||
/**
|
||||
* @author Juergen Hoeller
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -26,7 +26,6 @@ import org.springframework.beans.factory.InitializingBean;
|
|||
import org.springframework.beans.factory.config.AutowireCapableBeanFactory;
|
||||
import org.springframework.tests.sample.beans.TestBean;
|
||||
|
||||
|
||||
/**
|
||||
* Simple factory to allow testing of FactoryBean support in AbstractBeanFactory.
|
||||
* Depending on whether its singleton property is set, it will return a singleton
|
||||
|
|
|
|||
|
|
@ -64,7 +64,6 @@ final class ConfigurationClass {
|
|||
private final Set<ImportBeanDefinitionRegistrar> importBeanDefinitionRegistrars =
|
||||
new LinkedHashSet<ImportBeanDefinitionRegistrar>();
|
||||
|
||||
|
||||
/**
|
||||
* Create a new {@link ConfigurationClass} with the given name.
|
||||
* @param metadataReader reader used to parse the underlying {@link Class}
|
||||
|
|
|
|||
|
|
@ -25,7 +25,6 @@ import java.lang.annotation.Target;
|
|||
import org.springframework.beans.factory.support.BeanDefinitionReader;
|
||||
import org.springframework.beans.factory.xml.XmlBeanDefinitionReader;
|
||||
|
||||
|
||||
/**
|
||||
* Indicates one or more resources containing bean definitions to import.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -27,7 +27,6 @@ import org.springframework.beans.factory.FactoryBean;
|
|||
import org.springframework.context.support.ClassPathXmlApplicationContext;
|
||||
import org.springframework.core.io.Resource;
|
||||
|
||||
|
||||
/**
|
||||
* @author Adrian Colyer
|
||||
* @author Juergen Hoeller
|
||||
|
|
|
|||
|
|
@ -21,7 +21,6 @@ import java.lang.annotation.RetentionPolicy;
|
|||
|
||||
import org.aspectj.lang.ProceedingJoinPoint;
|
||||
|
||||
|
||||
/**
|
||||
* Definitions of testing types for use in within this package.
|
||||
* Wherever possible, test types should be defined local to the java
|
||||
|
|
|
|||
|
|
@ -26,7 +26,6 @@ import org.aspectj.lang.annotation.Aspect;
|
|||
import org.junit.Test;
|
||||
import org.springframework.context.support.ClassPathXmlApplicationContext;
|
||||
|
||||
|
||||
/**
|
||||
* @author Adrian Colyer
|
||||
* @author Chris Beams
|
||||
|
|
|
|||
|
|
@ -25,7 +25,6 @@ import org.springframework.context.annotation.Import;
|
|||
|
||||
import org.springframework.tests.sample.beans.TestBean;
|
||||
|
||||
|
||||
/**
|
||||
* TCK-style unit tests for handling circular use of the {@link Import} annotation. Explore
|
||||
* subclass hierarchy for specific concrete implementations.
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@ import java.lang.annotation.Target;
|
|||
|
||||
import org.springframework.beans.factory.annotation.Qualifier;
|
||||
|
||||
|
||||
@Target({ElementType.METHOD, ElementType.PARAMETER})
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Qualifier
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@ import org.springframework.beans.factory.annotation.Autowired;
|
|||
import org.springframework.beans.factory.annotation.Value;
|
||||
import org.springframework.context.ApplicationContext;
|
||||
|
||||
|
||||
/**
|
||||
* Test case cornering the bug initially raised with SPR-8762, in which a
|
||||
* NullPointerException would be raised if a FactoryBean-returning @Bean method also
|
||||
|
|
|
|||
|
|
@ -25,7 +25,6 @@ import org.springframework.beans.factory.support.DefaultListableBeanFactory;
|
|||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.context.annotation.ConfigurationClassPostProcessor;
|
||||
|
||||
|
||||
/**
|
||||
* Unit tests covering cases where a user defines an invalid Configuration
|
||||
* class, e.g.: forgets to annotate with {@link Configuration} or declares
|
||||
|
|
|
|||
|
|
@ -33,7 +33,6 @@ import org.springframework.core.io.ClassPathResource;
|
|||
|
||||
import org.springframework.tests.sample.beans.TestBean;
|
||||
|
||||
|
||||
/**
|
||||
* System tests covering use of AspectJ {@link Aspect}s in conjunction with {@link Configuration} classes.
|
||||
* {@link Bean} methods may return aspects, or Configuration classes may themselves be annotated with Aspect.
|
||||
|
|
|
|||
|
|
@ -31,7 +31,6 @@ import org.springframework.context.annotation.Configuration;
|
|||
import org.springframework.context.annotation.ConfigurationClassPostProcessor;
|
||||
import org.springframework.context.annotation.Import;
|
||||
|
||||
|
||||
/**
|
||||
* System tests for {@link Import} annotation support.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@ package org.springframework.context.annotation.configuration.spr8955;
|
|||
import org.junit.Test;
|
||||
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
|
||||
|
||||
|
||||
/**
|
||||
* @author Chris Beams
|
||||
* @author Willem Dekker
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@ package org.springframework.context.annotation.spr10546;
|
|||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Rob Winch
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@ package org.springframework.context.annotation.spr10546;
|
|||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Rob Winch
|
||||
|
|
|
|||
|
|
@ -20,7 +20,6 @@ import org.springframework.context.annotation.ComponentScan;
|
|||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.context.annotation.spr10546.scanpackage.AEnclosingConfig;
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Rob Winch
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@ package org.springframework.context.annotation.spr10546;
|
|||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.context.annotation.Import;
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Rob Winch
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@ package org.springframework.context.annotation.spr10546;
|
|||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.context.annotation.ImportResource;
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Rob Winch
|
||||
|
|
|
|||
|
|
@ -18,7 +18,6 @@ package org.springframework.context.annotation.spr10546;
|
|||
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Rob Winch
|
||||
|
|
|
|||
|
|
@ -27,7 +27,6 @@ import org.springframework.context.annotation.spr10546.scanpackage.AEnclosingCon
|
|||
import static org.hamcrest.CoreMatchers.*;
|
||||
import static org.junit.Assert.*;
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Rob Winch
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@ package org.springframework.context.annotation.spr10546.scanpackage;
|
|||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.context.annotation.spr10546.ParentConfig;
|
||||
|
||||
|
||||
/**
|
||||
* Note the name of {@link AEnclosingConfig} is chosen to help ensure scanning picks up
|
||||
* the enclosing configuration prior to {@link ChildConfig} to demonstrate this can happen
|
||||
|
|
|
|||
|
|
@ -28,7 +28,6 @@ import org.springframework.mock.env.MockPropertySource;
|
|||
|
||||
import org.springframework.tests.sample.beans.TestBean;
|
||||
|
||||
|
||||
/**
|
||||
* Integration tests for {@link EnvironmentAccessor}, which is registered with
|
||||
* SpEL for all {@link AbstractApplicationContext} implementations via
|
||||
|
|
|
|||
|
|
@ -35,7 +35,6 @@ import org.springframework.core.env.AbstractEnvironment;
|
|||
import org.springframework.core.env.StandardEnvironmentTests;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
|
||||
/**
|
||||
* Tests integration between Environment and SecurityManagers. See SPR-9970.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -18,7 +18,6 @@ package org.springframework.context.support;
|
|||
|
||||
import org.springframework.beans.factory.BeanNameAware;
|
||||
|
||||
|
||||
public class Logic implements BeanNameAware {
|
||||
|
||||
private String name;
|
||||
|
|
|
|||
|
|
@ -40,7 +40,6 @@ import org.springframework.tests.mock.jndi.SimpleNamingContextBuilder;
|
|||
|
||||
import static org.junit.Assert.*;
|
||||
|
||||
|
||||
/**
|
||||
* @author Juergen Hoeller
|
||||
* @author Chris Beams
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@ package test.mixin;
|
|||
import org.aopalliance.intercept.MethodInvocation;
|
||||
import org.springframework.aop.support.DelegatingIntroductionInterceptor;
|
||||
|
||||
|
||||
/**
|
||||
* Mixin to provide stateful locking functionality.
|
||||
* Test/demonstration of AOP mixin support rather than a
|
||||
|
|
|
|||
|
|
@ -27,7 +27,6 @@ import java.util.Locale;
|
|||
import java.util.Map;
|
||||
import java.util.TreeSet;
|
||||
|
||||
|
||||
/**
|
||||
* Represents a MIME Type, as originally defined in RFC 2046 and subsequently used in
|
||||
* other Internet protocols including HTTP. This class however does not contain support
|
||||
|
|
|
|||
|
|
@ -27,7 +27,6 @@ import java.io.OutputStreamWriter;
|
|||
import java.io.Writer;
|
||||
import java.nio.charset.Charset;
|
||||
|
||||
|
||||
/**
|
||||
* Simple utility methods for dealing with streams. The copy methods of this class are
|
||||
* similar to those defined in {@link FileCopyUtils} except that all affected streams are
|
||||
|
|
|
|||
|
|
@ -35,7 +35,6 @@ import org.junit.Test;
|
|||
import static org.hamcrest.Matchers.*;
|
||||
import static org.junit.Assert.*;
|
||||
|
||||
|
||||
/**
|
||||
* Tests for {@link SerializableTypeWrapper}.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@ import java.lang.reflect.Method;
|
|||
import static org.hamcrest.CoreMatchers.is;
|
||||
import static org.hamcrest.MatcherAssert.assertThat;
|
||||
|
||||
|
||||
/**
|
||||
* Tests for StandardReflectionParameterNameDiscoverer
|
||||
*
|
||||
|
|
|
|||
|
|
@ -28,7 +28,6 @@ import java.util.Map;
|
|||
import org.junit.Test;
|
||||
import org.springframework.mock.env.MockPropertySource;
|
||||
|
||||
|
||||
import static java.lang.String.*;
|
||||
import static org.hamcrest.Matchers.*;
|
||||
import static org.junit.Assert.*;
|
||||
|
|
|
|||
|
|
@ -20,7 +20,6 @@ import java.util.List;
|
|||
|
||||
import org.springframework.core.io.Resource;
|
||||
|
||||
|
||||
public class GenericObject<T> {
|
||||
|
||||
private List<Resource> resourceList;
|
||||
|
|
|
|||
|
|
@ -28,7 +28,6 @@ import org.springframework.core.convert.support.DefaultConversionService;
|
|||
|
||||
import static org.junit.Assert.*;
|
||||
|
||||
|
||||
/**
|
||||
* @author Arjen Poutsma
|
||||
* @author Juergen Hoeller
|
||||
|
|
|
|||
|
|
@ -17,7 +17,6 @@ package org.springframework.expression.spel;
|
|||
|
||||
import org.springframework.expression.ParseException;
|
||||
|
||||
|
||||
/**
|
||||
* Root exception for Spring EL related exceptions. Rather than holding a hard coded
|
||||
* string indicating the problem, it records a message key and the inserts for the
|
||||
|
|
|
|||
|
|
@ -32,7 +32,6 @@ import org.springframework.expression.ParseException;
|
|||
import org.springframework.expression.spel.support.StandardEvaluationContext;
|
||||
import org.springframework.expression.spel.testresources.PlaceOfBirth;
|
||||
|
||||
|
||||
/**
|
||||
* Tests set value expressions.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -22,7 +22,6 @@ import org.junit.Test;
|
|||
import org.springframework.expression.spel.standard.SpelExpressionParser;
|
||||
import org.springframework.expression.spel.support.StandardEvaluationContext;
|
||||
|
||||
|
||||
/**
|
||||
* Tests the evaluation of expressions that access variables and functions (lambda/java).
|
||||
*
|
||||
|
|
|
|||
|
|
@ -18,7 +18,6 @@ package org.springframework.jdbc.datasource.embedded;
|
|||
|
||||
import java.sql.Driver;
|
||||
|
||||
|
||||
/**
|
||||
* DataSourceFactory helper that allows essential JDBC connection properties to be configured consistently,
|
||||
* independent of the actual DataSource implementation.
|
||||
|
|
|
|||
|
|
@ -20,7 +20,6 @@ import java.util.Map;
|
|||
import org.springframework.messaging.Message;
|
||||
import org.springframework.util.Assert;
|
||||
|
||||
|
||||
/**
|
||||
* Base class for a messaging template that can resolve String-based destinations.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -26,7 +26,6 @@ import org.springframework.messaging.support.converter.MessageConverter;
|
|||
import org.springframework.messaging.support.converter.SimpleMessageConverter;
|
||||
import org.springframework.util.Assert;
|
||||
|
||||
|
||||
/**
|
||||
* Base class for templates that support sending messages.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -20,7 +20,6 @@ import java.util.Map;
|
|||
import org.springframework.messaging.Message;
|
||||
import org.springframework.messaging.MessageHeaders;
|
||||
|
||||
|
||||
/**
|
||||
* Base class for a messaging template that send and receive messages.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@ import java.lang.reflect.Method;
|
|||
import java.util.*;
|
||||
import java.util.concurrent.ConcurrentHashMap;
|
||||
|
||||
|
||||
/**
|
||||
* Cache exception handling method mappings and provide options to look up a method
|
||||
* that should handle an exception. If multiple methods match, they are sorted using
|
||||
|
|
|
|||
|
|
@ -26,7 +26,6 @@ import org.springframework.core.MethodParameter;
|
|||
import org.springframework.messaging.Message;
|
||||
import org.springframework.util.Assert;
|
||||
|
||||
|
||||
/**
|
||||
* @author Rossen Stoyanchev
|
||||
* @since 4.0
|
||||
|
|
|
|||
|
|
@ -18,7 +18,6 @@ package org.springframework.messaging.simp;
|
|||
|
||||
import org.springframework.context.ApplicationEvent;
|
||||
|
||||
|
||||
/**
|
||||
* Event raised when a broker's availabilty changes
|
||||
*
|
||||
|
|
|
|||
|
|
@ -20,7 +20,6 @@ import org.springframework.messaging.MessageChannel;
|
|||
import org.springframework.messaging.simp.stomp.StompBrokerRelayMessageHandler;
|
||||
import org.springframework.util.Assert;
|
||||
|
||||
|
||||
/**
|
||||
* Registration class for configuring a {@link StompBrokerRelayMessageHandler}.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -28,7 +28,6 @@ import org.springframework.util.ClassUtils;
|
|||
|
||||
import static org.junit.Assert.*;
|
||||
|
||||
|
||||
/**
|
||||
* Test fixture for {@link AnnotationExceptionHandlerMethodResolver} tests.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -31,7 +31,6 @@ import org.springframework.messaging.support.MessageBuilder;
|
|||
|
||||
import static org.junit.Assert.*;
|
||||
|
||||
|
||||
/**
|
||||
* Test fixture for {@link HeaderMethodArgumentResolver} tests.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -32,7 +32,6 @@ import org.springframework.messaging.support.NativeMessageHeaderAccessor;
|
|||
|
||||
import static org.junit.Assert.*;
|
||||
|
||||
|
||||
/**
|
||||
* Test fixture for {@link HeadersMethodArgumentResolver} tests.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -29,7 +29,6 @@ import org.springframework.messaging.support.converter.StringMessageConverter;
|
|||
|
||||
import static org.junit.Assert.*;
|
||||
|
||||
|
||||
/**
|
||||
* Test fixture for {@link PayloadArgumentResolver}.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -18,7 +18,6 @@ package org.springframework.messaging.simp;
|
|||
|
||||
import java.security.Principal;
|
||||
|
||||
|
||||
/**
|
||||
* An implementation of {@link Principal} for testing.
|
||||
*
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue