diff --git a/src/main/java/org/apache/commons/collections4/keyvalue/MultiKey.java b/src/main/java/org/apache/commons/collections4/keyvalue/MultiKey.java index fdcfce6a13..17a99c1e11 100644 --- a/src/main/java/org/apache/commons/collections4/keyvalue/MultiKey.java +++ b/src/main/java/org/apache/commons/collections4/keyvalue/MultiKey.java @@ -57,6 +57,7 @@ private static Class getClass(final T value) { return (Class) (value == null ? Object.class : value.getClass()); } + @SafeVarargs private static Class getComponentType(final T... values) { @SuppressWarnings("unchecked") final Class rootClass = (Class) Object.class;