From 1afc2be5aa713f992aa424f6a286786ea0e22405 Mon Sep 17 00:00:00 2001 From: Johnny Lim Date: Tue, 25 Jun 2019 16:00:12 +0900 Subject: [PATCH] Remove duplicate assertion in AnnotatedElementUtilsTests Closes gh-23191 --- .../core/annotation/AnnotatedElementUtilsTests.java | 1 - 1 file changed, 1 deletion(-) diff --git a/spring-core/src/test/java/org/springframework/core/annotation/AnnotatedElementUtilsTests.java b/spring-core/src/test/java/org/springframework/core/annotation/AnnotatedElementUtilsTests.java index c1fa0f7b781..3bf718e8a1a 100644 --- a/spring-core/src/test/java/org/springframework/core/annotation/AnnotatedElementUtilsTests.java +++ b/spring-core/src/test/java/org/springframework/core/annotation/AnnotatedElementUtilsTests.java @@ -784,7 +784,6 @@ public class AnnotatedElementUtilsTests { public void nullableAnnotationTypeViaFindMergedAnnotation() throws Exception { Method method = TransactionalServiceImpl.class.getMethod("doIt"); assertThat(findMergedAnnotation(method, Resource.class)).isEqualTo(method.getAnnotation(Resource.class)); - assertThat(findMergedAnnotation(method, Resource.class)).isEqualTo(method.getAnnotation(Resource.class)); } @Test