From: Matti Tahvonen Date: Mon, 18 Apr 2011 10:53:10 +0000 (+0000) Subject: #6813: cleanup: renamed a helper method to be symmetric to adder. X-Git-Tag: 6.7.0.beta1~326 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d6337e56021c86d71f14d2ec27148bf99c7f07ff;p=vaadin-framework.git #6813: cleanup: renamed a helper method to be symmetric to adder. svn changeset:18349/svn branch:6.6 --- diff --git a/src/com/vaadin/terminal/gwt/client/ui/dd/VDragAndDropManager.java b/src/com/vaadin/terminal/gwt/client/ui/dd/VDragAndDropManager.java index 981b40d465..5bc4d2c79d 100644 --- a/src/com/vaadin/terminal/gwt/client/ui/dd/VDragAndDropManager.java +++ b/src/com/vaadin/terminal/gwt/client/ui/dd/VDragAndDropManager.java @@ -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); }