]> source.dussan.org Git - vaadin-framework.git/commitdiff
minor refactoring
authorMatti Tahvonen <matti.tahvonen@itmill.com>
Fri, 15 Apr 2011 10:47:53 +0000 (10:47 +0000)
committerMatti Tahvonen <matti.tahvonen@itmill.com>
Fri, 15 Apr 2011 10:47:53 +0000 (10:47 +0000)
svn changeset:18321/svn branch:6.6

src/com/vaadin/terminal/gwt/client/ui/VDragAndDropWrapper.java

index 704a43c403d9568043328b000ed418511601f6cb..896662436f1624169e9bdb89bc11036b765cf5b0 100644 (file)
@@ -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;