From 17703e5dde1d0c3b97caa2c161432fe08b1caf1f Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Thu, 29 Mar 2018 17:45:55 +0200 Subject: [PATCH] Polishing --- .../test/java/org/springframework/core/MethodParameterTests.java | 1 - 1 file changed, 1 deletion(-) diff --git a/spring-core/src/test/java/org/springframework/core/MethodParameterTests.java b/spring-core/src/test/java/org/springframework/core/MethodParameterTests.java index 738e630c12..678e32f9c4 100644 --- a/spring-core/src/test/java/org/springframework/core/MethodParameterTests.java +++ b/spring-core/src/test/java/org/springframework/core/MethodParameterTests.java @@ -123,7 +123,6 @@ public class MethodParameterTests { methodParameter = MethodParameter.forExecutable(constructor, 1); 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)); methodParameter = MethodParameter.forExecutable(constructor, 2);