@@ -3825,10 +3825,11 @@ * @throws IllegalArgumentException if some property of a value in * <tt>elements</tt> prevents it from being added to <tt>c</tt> * @see Collection#addAll(Collection) * @since 1.5 */ + @SafeVarargs public static <T> boolean addAll(Collection<? super T> c, T... elements) { boolean result = false; for (T element : elements) result |= c.add(element); return result;