Skip to content

Commit 8f0849f

Browse files
committed
Fix minor error in AnnotationUtilsTests
TransactionalAndOrderedClass now extends TransactionalClass. The tests passed anyway, but they did not actually verify what was meant to be verified.
1 parent 4618167 commit 8f0849f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-core/src/test/java/org/springframework/core/annotation/AnnotationUtilsTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2013 the original author or authors.
2+
* Copyright 2002-2014 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -445,7 +445,7 @@ public static class TransactionalClass {
445445
}
446446

447447
@Order
448-
public static class TransactionalAndOrderedClass {
448+
public static class TransactionalAndOrderedClass extends TransactionalClass {
449449
}
450450

451451
public static class SubTransactionalAndOrderedClass extends TransactionalAndOrderedClass {

0 commit comments

Comments
 (0)