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);