src/share/classes/sun/awt/datatransfer/ClipboardTransferable.java

Print this page

        

@@ -96,12 +96,11 @@
 
                     fetchOneFlavor(clipboard, flavor, lFormat, cached_data);
                 }
 
                 flavors = DataTransferer.getInstance().
-                    setToSortedDataFlavorArray(flavorsToData.keySet(),
-                                               flavorsForFormats);
+                    setToSortedDataFlavorArray(flavorsToData.keySet());
             }
         } finally {
             clipboard.closeClipboard();
         }
     }