Skip to content

Commit 70ceb3a

Browse files
committed
Refer to local Consumer type instead of Kotlin test type
1 parent 9181cce commit 70ceb3a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: spring-core/src/test/java/org/springframework/core/ResolvableTypeTests.java

+3-1
Original file line numberDiff line numberDiff line change
@@ -1785,6 +1785,9 @@ public class MyCollectionSuperclassType extends MySuperclassType<Collection<Stri
17851785
}
17861786

17871787

1788+
public interface Consumer<T> {
1789+
}
1790+
17881791
public class Wildcard<T extends CharSequence> {
17891792
}
17901793

@@ -1794,7 +1797,6 @@ public class WildcardFixed extends Wildcard<String> {
17941797
public class WildcardConsumer<T extends CharSequence & Serializable> implements Consumer<Wildcard<T>> {
17951798
}
17961799

1797-
17981800
public class DoubleWildcard<T extends CharSequence & Serializable> {
17991801
}
18001802

0 commit comments

Comments
 (0)