From 7d25670284b11c7c62ba25183f265227cb3dba83 Mon Sep 17 00:00:00 2001 From: Leif Åstrand Date: Wed, 5 Sep 2012 19:50:56 +0300 Subject: Reformat project --- uitest/src/com/vaadin/tests/dd/DDTest2.java | 2 +- uitest/src/com/vaadin/tests/dd/DDTest4.java | 2 +- uitest/src/com/vaadin/tests/dd/DDTest6.java | 2 +- uitest/src/com/vaadin/tests/dd/DDTest7.java | 2 +- uitest/src/com/vaadin/tests/dd/TreeDragStart.java | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 'uitest/src/com/vaadin/tests/dd') diff --git a/uitest/src/com/vaadin/tests/dd/DDTest2.java b/uitest/src/com/vaadin/tests/dd/DDTest2.java index 7757513fc1..e9fb2910b0 100644 --- a/uitest/src/com/vaadin/tests/dd/DDTest2.java +++ b/uitest/src/com/vaadin/tests/dd/DDTest2.java @@ -24,12 +24,12 @@ import com.vaadin.ui.AbstractSelect; import com.vaadin.ui.AbstractSelect.AbstractSelectTargetDetails; import com.vaadin.ui.AbstractSelect.AcceptItem; import com.vaadin.ui.HorizontalLayout; -import com.vaadin.ui.UI; import com.vaadin.ui.Table; import com.vaadin.ui.Table.TableTransferable; import com.vaadin.ui.Tree; import com.vaadin.ui.Tree.TargetItemAllowsChildren; import com.vaadin.ui.Tree.TreeDragMode; +import com.vaadin.ui.UI; import com.vaadin.ui.Window; public class DDTest2 extends TestBase { diff --git a/uitest/src/com/vaadin/tests/dd/DDTest4.java b/uitest/src/com/vaadin/tests/dd/DDTest4.java index 044fe1f49a..acd54274da 100644 --- a/uitest/src/com/vaadin/tests/dd/DDTest4.java +++ b/uitest/src/com/vaadin/tests/dd/DDTest4.java @@ -16,8 +16,8 @@ import com.vaadin.tests.util.PersonContainer; import com.vaadin.tests.util.TestUtils; import com.vaadin.ui.AbstractSelect.AbstractSelectTargetDetails; import com.vaadin.ui.HorizontalLayout; -import com.vaadin.ui.UI; import com.vaadin.ui.Table; +import com.vaadin.ui.UI; public class DDTest4 extends TestBase { diff --git a/uitest/src/com/vaadin/tests/dd/DDTest6.java b/uitest/src/com/vaadin/tests/dd/DDTest6.java index a4c566d75a..5ba6999da4 100644 --- a/uitest/src/com/vaadin/tests/dd/DDTest6.java +++ b/uitest/src/com/vaadin/tests/dd/DDTest6.java @@ -27,9 +27,9 @@ import com.vaadin.event.dd.acceptcriteria.Not; import com.vaadin.event.dd.acceptcriteria.SourceIsTarget; import com.vaadin.server.Resource; import com.vaadin.server.StreamResource; +import com.vaadin.server.StreamResource.StreamSource; import com.vaadin.server.StreamVariable; import com.vaadin.server.ThemeResource; -import com.vaadin.server.StreamResource.StreamSource; import com.vaadin.shared.MouseEventDetails; import com.vaadin.tests.components.TestBase; import com.vaadin.tests.util.TestUtils; diff --git a/uitest/src/com/vaadin/tests/dd/DDTest7.java b/uitest/src/com/vaadin/tests/dd/DDTest7.java index 1abf9e379c..3c819ce15c 100644 --- a/uitest/src/com/vaadin/tests/dd/DDTest7.java +++ b/uitest/src/com/vaadin/tests/dd/DDTest7.java @@ -16,8 +16,8 @@ import com.vaadin.tests.util.PersonContainer; import com.vaadin.tests.util.TestUtils; import com.vaadin.ui.AbstractSelect.AbstractSelectTargetDetails; import com.vaadin.ui.HorizontalLayout; -import com.vaadin.ui.UI; import com.vaadin.ui.Table; +import com.vaadin.ui.UI; public class DDTest7 extends TestBase { diff --git a/uitest/src/com/vaadin/tests/dd/TreeDragStart.java b/uitest/src/com/vaadin/tests/dd/TreeDragStart.java index 27ac8b6586..b86cb361c0 100644 --- a/uitest/src/com/vaadin/tests/dd/TreeDragStart.java +++ b/uitest/src/com/vaadin/tests/dd/TreeDragStart.java @@ -50,7 +50,7 @@ public class TreeDragStart extends TestBase { checkBox.addListener(new ValueChangeListener() { @Override public void valueChange(ValueChangeEvent event) { - if ((Boolean) ((CheckBox) event.getProperty()).getValue()) { + if (((CheckBox) event.getProperty()).getValue()) { tree.setDragMode(TreeDragMode.NODE); } else { tree.setDragMode(TreeDragMode.NONE); -- cgit v1.2.3