jdk/src/share/classes/javax/swing/SwingWorker.java
changeset 19199 4dfcc94aa1f2
parent 10316 8d1ca7d93fb2
child 20455 f6f9a0c2796b
--- a/jdk/src/share/classes/javax/swing/SwingWorker.java	Fri Aug 02 11:10:41 2013 -0700
+++ b/jdk/src/share/classes/javax/swing/SwingWorker.java	Mon Aug 05 07:50:16 2013 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -405,6 +405,7 @@
      *
      */
     @SafeVarargs
+    @SuppressWarnings("varargs") // Passing chunks to add is safe
     protected final void publish(V... chunks) {
         synchronized (this) {
             if (doProcess == null) {