diff options
Diffstat (limited to 'java/awt/dnd/DropTargetDropEvent.java')
-rw-r--r-- | java/awt/dnd/DropTargetDropEvent.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/java/awt/dnd/DropTargetDropEvent.java b/java/awt/dnd/DropTargetDropEvent.java index dd85ef712..333f8c6cc 100644 --- a/java/awt/dnd/DropTargetDropEvent.java +++ b/java/awt/dnd/DropTargetDropEvent.java @@ -56,7 +56,7 @@ public class DropTargetDropEvent extends DropTargetEvent private final int actions; private final Point location; private final boolean isLocalTx; - + /** * Initializes a <code>DropTargetDropEvent</code>. By default this constructor * assumes that the target is not int same JVM. @@ -103,16 +103,16 @@ public class DropTargetDropEvent extends DropTargetEvent | DnDConstants.ACTION_COPY_OR_MOVE | DnDConstants.ACTION_LINK | DnDConstants.ACTION_REFERENCE; - + if (~(actions ^ actionsMask) != 0) throw new IllegalArgumentException(); - + this.dropAction = dropAction; this.actions = actions; this.location = location; this.isLocalTx = isLocalTx; } - + public Point getLocation() { return location; |