From 45be4aed5aa796e68af5625d73cc8a1c996e3469 Mon Sep 17 00:00:00 2001 From: Christine Poerschke Date: Thu, 30 Dec 2021 08:50:42 +0000 Subject: [PATCH] fix JavaDoc warnings [unchecked cast] --- src/main/java/org/junit/runners/model/FrameworkMember.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/org/junit/runners/model/FrameworkMember.java b/src/main/java/org/junit/runners/model/FrameworkMember.java index 5634b3f0ca98..3409a7f1c184 100644 --- a/src/main/java/org/junit/runners/model/FrameworkMember.java +++ b/src/main/java/org/junit/runners/model/FrameworkMember.java @@ -12,6 +12,7 @@ public abstract class FrameworkMember> implements Annotatable { abstract boolean isShadowedBy(T otherMember); + @SuppressWarnings("unchecked") T handlePossibleBridgeMethod(List members) { for (int i = members.size() - 1; i >=0; i--) { T otherMember = members.get(i);