summaryrefslogtreecommitdiffstats
path: root/src/com
diff options
context:
space:
mode:
authorMatti Tahvonen <matti.tahvonen@itmill.com>2011-04-15 10:47:53 +0000
committerMatti Tahvonen <matti.tahvonen@itmill.com>2011-04-15 10:47:53 +0000
commit0b98dabd1f4c9c9b3b63843c617a8332d232ebfd (patch)
tree2fc556c574d0b678a6de3064d5d4d0c99d28118b /src/com
parentd4f15a897f067ff38582e3969249b1516a08f734 (diff)
downloadvaadin-framework-0b98dabd1f4c9c9b3b63843c617a8332d232ebfd.tar.gz
vaadin-framework-0b98dabd1f4c9c9b3b63843c617a8332d232ebfd.zip
minor refactoring
svn changeset:18321/svn branch:6.6
Diffstat (limited to 'src/com')
-rw-r--r--src/com/vaadin/terminal/gwt/client/ui/VDragAndDropWrapper.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/com/vaadin/terminal/gwt/client/ui/VDragAndDropWrapper.java b/src/com/vaadin/terminal/gwt/client/ui/VDragAndDropWrapper.java
index 704a43c403..896662436f 100644
--- a/src/com/vaadin/terminal/gwt/client/ui/VDragAndDropWrapper.java
+++ b/src/com/vaadin/terminal/gwt/client/ui/VDragAndDropWrapper.java
@@ -103,16 +103,16 @@ public class VDragAndDropWrapper extends VCustomComponent implements
paintable = (Paintable) w;
transferable.setData("component", paintable);
- VDragEvent startDrag = VDragAndDropManager.get().startDrag(
+ VDragEvent dragEvent = VDragAndDropManager.get().startDrag(
transferable, event, true);
transferable.setData("mouseDown",
new MouseEventDetails(event).serialize());
if (dragStarMode == WRAPPER) {
- startDrag.createDragImage(getElement(), true);
+ dragEvent.createDragImage(getElement(), true);
} else {
- startDrag.createDragImage(((Widget) paintable).getElement(),
+ dragEvent.createDragImage(((Widget) paintable).getElement(),
true);
}
return true;