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
92
92
MethodParameter methodParameter = MethodParameter .forMethodOrConstructor (constructor , 0 );
93
93
assertEquals (String .class , methodParameter .getParameterType ());
94
94
assertNotNull ("Failed to find @Param annotation" , methodParameter .getParameterAnnotation (Param .class ));
95
- assertNotNull (methodParameter .getParameterAnnotation (Param .class ));
96
95
}
97
96
98
97
@ Test // SPR-16652
@@ -105,7 +104,6 @@ public void annotatedConstructorParameterInInnerClass() throws Exception {
105
104
106
105
methodParameter = MethodParameter .forMethodOrConstructor (constructor , 1 );
107
106
assertEquals (String .class , methodParameter .getParameterType ());
108
- // The following assertion currently fails if this test class is compiled using JDK 8.
109
107
assertNotNull ("Failed to find @Param annotation" , methodParameter .getParameterAnnotation (Param .class ));
110
108
111
109
methodParameter = MethodParameter .forMethodOrConstructor (constructor , 2 );
You can’t perform that action at this time.
0 commit comments