Skip to content

Commit e03dea1

Browse files
committed
Polishing
1 parent 7b564b7 commit e03dea1

File tree

193 files changed

+324
-323
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

193 files changed

+324
-323
lines changed

spring-aop/src/test/java/org/springframework/aop/aspectj/AspectJAdviceParameterNameDiscoverAnnotationTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
* @author Adrian Colyer
3131
* @author Chris Beams
3232
*/
33-
public final class AspectJAdviceParameterNameDiscoverAnnotationTests
33+
public class AspectJAdviceParameterNameDiscoverAnnotationTests
3434
extends AspectJAdviceParameterNameDiscovererTests {
3535

3636
@Retention(RetentionPolicy.RUNTIME)

spring-aop/src/test/java/org/springframework/aop/aspectj/AspectJExpressionPointcutTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
* @author Rod Johnson
4444
* @author Chris Beams
4545
*/
46-
public final class AspectJExpressionPointcutTests {
46+
public class AspectJExpressionPointcutTests {
4747

4848
public static final String MATCH_ALL_METHODS = "execution(* *(..))";
4949

spring-aop/src/test/java/org/springframework/aop/aspectj/BeanNamePointcutMatchingTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
* @author Ramnivas Laddad
2929
* @author Chris Beams
3030
*/
31-
public final class BeanNamePointcutMatchingTests {
31+
public class BeanNamePointcutMatchingTests {
3232

3333
@Test
3434
public void testMatchingPointcuts() {

spring-aop/src/test/java/org/springframework/aop/aspectj/MethodInvocationProceedingJoinPointTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
* @author Ramnivas Laddad
4545
* @since 2.0
4646
*/
47-
public final class MethodInvocationProceedingJoinPointTests {
47+
public class MethodInvocationProceedingJoinPointTests {
4848

4949
@Test
5050
public void testingBindingWithJoinPoint() {

spring-aop/src/test/java/org/springframework/aop/aspectj/TigerAspectJAdviceParameterNameDiscovererTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
* @author Adrian Colyer
2828
* @author Chris Beams
2929
*/
30-
public final class TigerAspectJAdviceParameterNameDiscovererTests
30+
public class TigerAspectJAdviceParameterNameDiscovererTests
3131
extends AspectJAdviceParameterNameDiscovererTests {
3232

3333
@Test

spring-aop/src/test/java/org/springframework/aop/aspectj/TypePatternClassFilterTests.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@
3535
* @author Rick Evans
3636
* @author Chris Beams
3737
*/
38-
public final class TypePatternClassFilterTests {
38+
public class TypePatternClassFilterTests {
3939

40-
@Test(expected=IllegalArgumentException.class)
40+
@Test(expected = IllegalArgumentException.class)
4141
public void testInvalidPattern() {
4242
// should throw - pattern must be recognized as invalid
4343
new TypePatternClassFilter("-");
@@ -78,12 +78,12 @@ public void testAndOrNotReplacement() {
7878
assertTrue("matches Double",tpcf.matches(Double.class));
7979
}
8080

81-
@Test(expected=IllegalArgumentException.class)
81+
@Test(expected = IllegalArgumentException.class)
8282
public void testSetTypePatternWithNullArgument() throws Exception {
8383
new TypePatternClassFilter(null);
8484
}
8585

86-
@Test(expected=IllegalStateException.class)
86+
@Test(expected = IllegalStateException.class)
8787
public void testInvocationOfMatchesMethodBlowsUpWhenNoTypePatternHasBeenSet() throws Exception {
8888
new TypePatternClassFilter().matches(String.class);
8989
}

spring-aop/src/test/java/org/springframework/aop/aspectj/annotation/AbstractAspectJAdvisorFactoryTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -586,7 +586,7 @@ public void testFailureWithoutExplicitDeclarePrecedence() {
586586
itb.getAge();
587587
}
588588

589-
@Test(expected=IllegalArgumentException.class)
589+
@Test(expected = IllegalArgumentException.class)
590590
public void testDeclarePrecedenceNotSupported() {
591591
TestBean target = new TestBean();
592592
MetadataAwareAspectInstanceFactory aspectInstanceFactory = new SingletonMetadataAwareAspectInstanceFactory(

spring-aop/src/test/java/org/springframework/aop/aspectj/annotation/ArgumentBindingTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
*/
4040
public class ArgumentBindingTests {
4141

42-
@Test(expected=IllegalArgumentException.class)
42+
@Test(expected = IllegalArgumentException.class)
4343
public void testBindingInPointcutUsedByAdvice() {
4444
TestBean tb = new TestBean();
4545
AspectJProxyFactory proxyFactory = new AspectJProxyFactory(tb);
@@ -49,7 +49,7 @@ public void testBindingInPointcutUsedByAdvice() {
4949
proxiedTestBean.setName("Supercalifragalisticexpialidocious");
5050
}
5151

52-
@Test(expected=IllegalStateException.class)
52+
@Test(expected = IllegalStateException.class)
5353
public void testAnnotationArgumentNameBinding() {
5454
TransactionalBean tb = new TransactionalBean();
5555
AspectJProxyFactory proxyFactory = new AspectJProxyFactory(tb);

spring-aop/src/test/java/org/springframework/aop/aspectj/annotation/AspectMetadataTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@
3030
* @author Rod Johnson
3131
* @author Chris Beams
3232
*/
33-
public final class AspectMetadataTests {
33+
public class AspectMetadataTests {
3434

35-
@Test(expected=IllegalArgumentException.class)
35+
@Test(expected = IllegalArgumentException.class)
3636
public void testNotAnAspect() {
3737
new AspectMetadata(String.class,"someBean");
3838
}

spring-aop/src/test/java/org/springframework/aop/aspectj/annotation/ReflectiveAspectJAdvisorFactoryTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
* @author Rod Johnson
2424
* @since 2.0
2525
*/
26-
public final class ReflectiveAspectJAdvisorFactoryTests extends AbstractAspectJAdvisorFactoryTests {
26+
public class ReflectiveAspectJAdvisorFactoryTests extends AbstractAspectJAdvisorFactoryTests {
2727

2828
@Override
2929
protected AspectJAdvisorFactory getFixture() {

0 commit comments

Comments
 (0)