Skip to content

Commit 2903cb7

Browse files
committed
Polishing
1 parent 986d219 commit 2903cb7

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

spring-core/src/test/java/org/springframework/core/MethodParameterTests.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff 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);

0 commit comments

Comments
 (0)