Skip to content

Commit 7372246

Browse files
committed
Suppress deprecation warning
1 parent b4ea6ec commit 7372246

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

junit-platform-commons/src/main/java/org/junit/platform/commons/support/AnnotationSupport.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ public static <A extends Annotation> Optional<A> findAnnotation(AnnotatedElement
171171
*/
172172
@Deprecated
173173
@API(status = DEPRECATED, since = "1.12")
174+
@SuppressWarnings("deprecation")
174175
public static <A extends Annotation> Optional<A> findAnnotation(Class<?> clazz, Class<A> annotationType,
175176
SearchOption searchOption) {
176177

0 commit comments

Comments
 (0)