]> source.dussan.org Git - vaadin-framework.git/commitdiff
#6813: cleanup: renamed a helper method to be symmetric to adder.
authorMatti Tahvonen <matti.tahvonen@itmill.com>
Mon, 18 Apr 2011 10:53:10 +0000 (10:53 +0000)
committerMatti Tahvonen <matti.tahvonen@itmill.com>
Mon, 18 Apr 2011 10:53:10 +0000 (10:53 +0000)
svn changeset:18349/svn branch:6.6

src/com/vaadin/terminal/gwt/client/ui/dd/VDragAndDropManager.java

index 981b40d4655da8876c21b7b727682804073e5a8d..5bc4d2c79d955fd9685d6128c46e57dca659e550 100644 (file)
@@ -503,7 +503,7 @@ public class VDragAndDropManager {
                     Scheduler.get().scheduleFixedDelay(new RepeatingCommand() {
                         public boolean execute() {
                             if (!client.hasActiveRequest()) {
-                                removeActiveSourceClassname(dragSource);
+                                removeActiveDragSourceStyleName(dragSource);
                                 return false;
                             }
                             return true;
@@ -527,7 +527,7 @@ public class VDragAndDropManager {
          * the server visit is done.
          */
         if (!sendTransferableToServer && currentDrag != null) {
-            removeActiveSourceClassname(currentDrag.getTransferable()
+            removeActiveDragSourceStyleName(currentDrag.getTransferable()
                     .getDragSource());
         }
 
@@ -540,7 +540,7 @@ public class VDragAndDropManager {
 
     }
 
-    private void removeActiveSourceClassname(Paintable dragSource) {
+    private void removeActiveDragSourceStyleName(Paintable dragSource) {
         ((Widget) dragSource).removeStyleName(ACTIVE_DRAG_SOURCE_STYLENAME);
     }