summaryrefslogtreecommitdiff
path: root/java/awt/dnd/DragGestureRecognizer.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/awt/dnd/DragGestureRecognizer.java')
-rw-r--r--java/awt/dnd/DragGestureRecognizer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/awt/dnd/DragGestureRecognizer.java b/java/awt/dnd/DragGestureRecognizer.java
index 3973e5284..fb37b4fc7 100644
--- a/java/awt/dnd/DragGestureRecognizer.java
+++ b/java/awt/dnd/DragGestureRecognizer.java
@@ -124,7 +124,7 @@ public abstract class DragGestureRecognizer implements Serializable
public InputEvent getTriggerEvent()
{
- return events.size() > 0 ? (InputEvent) events.get(0) : null;
+ return events.size() > 0 ? events.get(0) : null;
}
/**