src/solaris/classes/sun/awt/X11/XDnDDragSourceProtocol.java

Print this page
rev 9830 : 8039642: Fix raw and unchecked warnings in sun.awt.*
Reviewed-by: darcy, prr

*** 24,33 **** --- 24,34 ---- */ package sun.awt.X11; import java.awt.datatransfer.Transferable; + import java.awt.datatransfer.DataFlavor; import java.awt.dnd.DnDConstants; import java.awt.dnd.InvalidDnDOperationException; import java.util.Map;
*** 68,78 **** * Performs protocol-specific drag initialization. * * @returns true if the initialized successfully. */ protected void initializeDragImpl(int actions, Transferable contents, ! Map formatMap, long[] formats) throws InvalidDnDOperationException, IllegalArgumentException, XException { assert XToolkit.isAWTLockHeldByCurrentThread(); long window = XDragSourceProtocol.getDragSourceWindow(); --- 69,79 ---- * Performs protocol-specific drag initialization. * * @returns true if the initialized successfully. */ protected void initializeDragImpl(int actions, Transferable contents, ! Map<Long, DataFlavor> formatMap, long[] formats) throws InvalidDnDOperationException, IllegalArgumentException, XException { assert XToolkit.isAWTLockHeldByCurrentThread(); long window = XDragSourceProtocol.getDragSourceWindow();