Browse Source

Polishing

pull/1763/head
Sam Brannen 7 years ago
parent
commit
17703e5dde
  1. 1
      spring-core/src/test/java/org/springframework/core/MethodParameterTests.java

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

@ -123,7 +123,6 @@ public class MethodParameterTests {
methodParameter = MethodParameter.forExecutable(constructor, 1); methodParameter = MethodParameter.forExecutable(constructor, 1);
assertEquals(String.class, methodParameter.getParameterType()); assertEquals(String.class, methodParameter.getParameterType());
// The following assertion currently fails if this test class is compiled using JDK 8.
assertNotNull("Failed to find @Param annotation", methodParameter.getParameterAnnotation(Param.class)); assertNotNull("Failed to find @Param annotation", methodParameter.getParameterAnnotation(Param.class));
methodParameter = MethodParameter.forExecutable(constructor, 2); methodParameter = MethodParameter.forExecutable(constructor, 2);

Loading…
Cancel
Save