File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed
spring-core/src/test/java/org/springframework/core Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -92,7 +92,6 @@ public void annotatedConstructorParameterInStaticNestedClass() throws Exception
9292 MethodParameter methodParameter = MethodParameter .forMethodOrConstructor (constructor , 0 );
9393 assertEquals (String .class , methodParameter .getParameterType ());
9494 assertNotNull ("Failed to find @Param annotation" , methodParameter .getParameterAnnotation (Param .class ));
95- assertNotNull (methodParameter .getParameterAnnotation (Param .class ));
9695 }
9796
9897 @ Test // SPR-16652
@@ -105,7 +104,6 @@ public void annotatedConstructorParameterInInnerClass() throws Exception {
105104
106105 methodParameter = MethodParameter .forMethodOrConstructor (constructor , 1 );
107106 assertEquals (String .class , methodParameter .getParameterType ());
108- // The following assertion currently fails if this test class is compiled using JDK 8.
109107 assertNotNull ("Failed to find @Param annotation" , methodParameter .getParameterAnnotation (Param .class ));
110108
111109 methodParameter = MethodParameter .forMethodOrConstructor (constructor , 2 );
You can’t perform that action at this time.
0 commit comments