Consistent whitespace after imports
Update code to have a consistent number of new-line characters after import statements.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user