changeset 8151 | 88b01a6d5f51 |
parent 7987 | 04c9822b55c9 |
child 9035 | 1255eb81cc2f |
child 9004 | 284f923de1bf |
--- a/jdk/src/share/classes/java/util/Collections.java Mon Jan 24 11:47:06 2011 -0800 +++ b/jdk/src/share/classes/java/util/Collections.java Mon Jan 24 20:04:08 2011 -0800 @@ -3827,6 +3827,7 @@ * @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)