Remove duplicate assertion in AnnotatedElementUtilsTests

Closes gh-23191
This commit is contained in:
Johnny Lim
2019-06-25 16:00:12 +09:00
committed by Sam Brannen
parent 0f1d16bb05
commit 1afc2be5aa

View File

@@ -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