summaryrefslogtreecommitdiffstats
path: root/uitest
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2014-03-21 10:21:19 +0200
committerVaadin Code Review <review@vaadin.com>2014-03-21 09:33:02 +0000
commit4f7c09daf43b29e8df9bbce61ff90e9facf78425 (patch)
tree9236365f0b530da80ce29712a934567141d7bf5a /uitest
parenta70ef27bb7b6e8c41a27041bdd1b794c95544be8 (diff)
downloadvaadin-framework-4f7c09daf43b29e8df9bbce61ff90e9facf78425.tar.gz
vaadin-framework-4f7c09daf43b29e8df9bbce61ff90e9facf78425.zip
Remove all unnecessary semicolons reported by Eclipse
Change-Id: I15f6fff50e709238655a0a50f605a833e2be7d6f
Diffstat (limited to 'uitest')
-rw-r--r--uitest/src/com/vaadin/launcher/DevelopmentServerLauncher.java2
-rw-r--r--uitest/src/com/vaadin/tests/applicationcontext/CloseUI.java2
-rw-r--r--uitest/src/com/vaadin/tests/components/AbstractComponentTest.java2
-rw-r--r--uitest/src/com/vaadin/tests/components/abstractfield/AbstractFieldTest.java2
-rw-r--r--uitest/src/com/vaadin/tests/components/datefield/DateFieldTest.java2
-rw-r--r--uitest/src/com/vaadin/tests/components/label/LabelTest.java2
-rw-r--r--uitest/src/com/vaadin/tests/components/listselect/ListSelects.java2
-rw-r--r--uitest/src/com/vaadin/tests/components/progressindicator/ProgressIndicatorTest.java2
-rw-r--r--uitest/src/com/vaadin/tests/components/table/ExpandingContainer.java2
-rw-r--r--uitest/src/com/vaadin/tests/components/table/TableWithContainerRequiringEqualsForItemId.java2
-rw-r--r--uitest/src/com/vaadin/tests/components/tree/Trees.java4
-rw-r--r--uitest/src/com/vaadin/tests/components/treetable/TreeTableTest.java2
-rw-r--r--uitest/src/com/vaadin/tests/components/uitest/components/FormsCssTest.java2
-rw-r--r--uitest/src/com/vaadin/tests/components/uitest/components/WindowsCssTest.java2
-rw-r--r--uitest/src/com/vaadin/tests/dd/HorizontalSortableCssLayoutWithWrappers.java2
-rw-r--r--uitest/src/com/vaadin/tests/layouts/TestAbsoluteLayout.java2
-rw-r--r--uitest/src/com/vaadin/tests/navigator/NavigatorTest.java2
-rw-r--r--uitest/src/com/vaadin/tests/push/EnableDisablePush.java2
-rw-r--r--uitest/src/com/vaadin/tests/tb3/ScreenshotTB3Test.java2
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket20.java2
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2337.java1
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket846.java2
22 files changed, 22 insertions, 23 deletions
diff --git a/uitest/src/com/vaadin/launcher/DevelopmentServerLauncher.java b/uitest/src/com/vaadin/launcher/DevelopmentServerLauncher.java
index 20e187c187..ecaf4ded32 100644
--- a/uitest/src/com/vaadin/launcher/DevelopmentServerLauncher.java
+++ b/uitest/src/com/vaadin/launcher/DevelopmentServerLauncher.java
@@ -256,7 +256,7 @@ public class DevelopmentServerLauncher {
} catch (Exception e) {
e.printStackTrace();
}
- };
+ }
}.start();
diff --git a/uitest/src/com/vaadin/tests/applicationcontext/CloseUI.java b/uitest/src/com/vaadin/tests/applicationcontext/CloseUI.java
index c88f482a7b..9bfef35d8c 100644
--- a/uitest/src/com/vaadin/tests/applicationcontext/CloseUI.java
+++ b/uitest/src/com/vaadin/tests/applicationcontext/CloseUI.java
@@ -78,7 +78,7 @@ public class CloseUI extends AbstractTestUI {
@Override
protected void runSafely() {
close();
- };
+ }
}.start();
}
}));
diff --git a/uitest/src/com/vaadin/tests/components/AbstractComponentTest.java b/uitest/src/com/vaadin/tests/components/AbstractComponentTest.java
index 8dae56b079..59f3a46c3b 100644
--- a/uitest/src/com/vaadin/tests/components/AbstractComponentTest.java
+++ b/uitest/src/com/vaadin/tests/components/AbstractComponentTest.java
@@ -200,7 +200,7 @@ public abstract class AbstractComponentTest<T extends AbstractComponent>
super.addTestComponent(c);
getLayout().setExpandRatio(c, 1);
- };
+ }
/**
* Construct the component that is to be tested. This method uses a no-arg
diff --git a/uitest/src/com/vaadin/tests/components/abstractfield/AbstractFieldTest.java b/uitest/src/com/vaadin/tests/components/abstractfield/AbstractFieldTest.java
index 7b2b945f23..692ca25b07 100644
--- a/uitest/src/com/vaadin/tests/components/abstractfield/AbstractFieldTest.java
+++ b/uitest/src/com/vaadin/tests/components/abstractfield/AbstractFieldTest.java
@@ -149,7 +149,7 @@ public abstract class AbstractFieldTest<T extends AbstractField> extends
public void valueChange(com.vaadin.data.Property.ValueChangeEvent event) {
log(event.getClass().getSimpleName() + ", new value: "
+ getValue(event.getProperty()));
- };
+ }
@SuppressWarnings({ "rawtypes", "unchecked" })
private String getValue(Property property) {
diff --git a/uitest/src/com/vaadin/tests/components/datefield/DateFieldTest.java b/uitest/src/com/vaadin/tests/components/datefield/DateFieldTest.java
index d92199a214..10718cae8b 100644
--- a/uitest/src/com/vaadin/tests/components/datefield/DateFieldTest.java
+++ b/uitest/src/com/vaadin/tests/components/datefield/DateFieldTest.java
@@ -37,7 +37,7 @@ public class DateFieldTest<T extends DateField> extends AbstractFieldTest<T> {
createDateFormatSelectAction(CATEGORY_FEATURES);
createSetValueAction(CATEGORY_FEATURES);
- };
+ }
private void createSetValueAction(String category) {
LinkedHashMap<String, Date> options = new LinkedHashMap<String, Date>();
diff --git a/uitest/src/com/vaadin/tests/components/label/LabelTest.java b/uitest/src/com/vaadin/tests/components/label/LabelTest.java
index 5db2669f95..8c9a76ea47 100644
--- a/uitest/src/com/vaadin/tests/components/label/LabelTest.java
+++ b/uitest/src/com/vaadin/tests/components/label/LabelTest.java
@@ -101,6 +101,6 @@ public class LabelTest extends AbstractComponentTest<Label> implements
}
log(event.getClass().getSimpleName() + ", new value: " + value);
- };
+ }
}
diff --git a/uitest/src/com/vaadin/tests/components/listselect/ListSelects.java b/uitest/src/com/vaadin/tests/components/listselect/ListSelects.java
index a3fa973bc2..8998fd3a3d 100644
--- a/uitest/src/com/vaadin/tests/components/listselect/ListSelects.java
+++ b/uitest/src/com/vaadin/tests/components/listselect/ListSelects.java
@@ -31,7 +31,7 @@ public class ListSelects extends AbstractSelectTestCase<ListSelect> {
super.createActions();
createRowsAction(CATEGORY_FEATURES);
createColsAction(CATEGORY_FEATURES);
- };
+ }
private void createRowsAction(String category) {
LinkedHashMap<String, Integer> options = createIntegerOptions(20);
diff --git a/uitest/src/com/vaadin/tests/components/progressindicator/ProgressIndicatorTest.java b/uitest/src/com/vaadin/tests/components/progressindicator/ProgressIndicatorTest.java
index fce5cdfa14..93e8c6d8f2 100644
--- a/uitest/src/com/vaadin/tests/components/progressindicator/ProgressIndicatorTest.java
+++ b/uitest/src/com/vaadin/tests/components/progressindicator/ProgressIndicatorTest.java
@@ -49,7 +49,7 @@ public class ProgressIndicatorTest extends AbstractFieldTest<ProgressIndicator>
createSetValueAction();
createPollingIntervalAction();
createIndeterminateToggle();
- };
+ }
private void createIndeterminateToggle() {
createBooleanAction("Indeterminate", CATEGORY_FEATURES, false,
diff --git a/uitest/src/com/vaadin/tests/components/table/ExpandingContainer.java b/uitest/src/com/vaadin/tests/components/table/ExpandingContainer.java
index 829c29b95b..a7d387477d 100644
--- a/uitest/src/com/vaadin/tests/components/table/ExpandingContainer.java
+++ b/uitest/src/com/vaadin/tests/components/table/ExpandingContainer.java
@@ -51,7 +51,7 @@ public class ExpandingContainer extends AbstractContainer implements
updateLabel();
}
return currentSize;
- };
+ }
@Override
public void fireItemSetChange() {
diff --git a/uitest/src/com/vaadin/tests/components/table/TableWithContainerRequiringEqualsForItemId.java b/uitest/src/com/vaadin/tests/components/table/TableWithContainerRequiringEqualsForItemId.java
index 733f46959a..ae16eff2dd 100644
--- a/uitest/src/com/vaadin/tests/components/table/TableWithContainerRequiringEqualsForItemId.java
+++ b/uitest/src/com/vaadin/tests/components/table/TableWithContainerRequiringEqualsForItemId.java
@@ -39,7 +39,7 @@ public class TableWithContainerRequiringEqualsForItemId extends TestBase {
// instance does not stay the same
BeanItem<MyEntity> beanItem = getItem(super.getIdByIndex(index));
return getBeanIdResolver().getIdForBean(beanItem.getBean());
- };
+ }
}
diff --git a/uitest/src/com/vaadin/tests/components/tree/Trees.java b/uitest/src/com/vaadin/tests/components/tree/Trees.java
index 412840a937..f12d6adbb3 100644
--- a/uitest/src/com/vaadin/tests/components/tree/Trees.java
+++ b/uitest/src/com/vaadin/tests/components/tree/Trees.java
@@ -45,7 +45,7 @@ public class Trees extends AbstractSelectTestCase<Tree> implements
@Override
public String toString() {
return "Root green, second level red";
- };
+ }
};
@@ -76,7 +76,7 @@ public class Trees extends AbstractSelectTestCase<Tree> implements
@Override
public String toString() {
return "Even items bold";
- };
+ }
};
diff --git a/uitest/src/com/vaadin/tests/components/treetable/TreeTableTest.java b/uitest/src/com/vaadin/tests/components/treetable/TreeTableTest.java
index 8fafdb2d26..02f848cd40 100644
--- a/uitest/src/com/vaadin/tests/components/treetable/TreeTableTest.java
+++ b/uitest/src/com/vaadin/tests/components/treetable/TreeTableTest.java
@@ -84,7 +84,7 @@ public class TreeTableTest extends Tables<TreeTable> implements
@Override
public String toString() {
return "Even items bold";
- };
+ }
};
diff --git a/uitest/src/com/vaadin/tests/components/uitest/components/FormsCssTest.java b/uitest/src/com/vaadin/tests/components/uitest/components/FormsCssTest.java
index 9c8678730e..1d6527e624 100644
--- a/uitest/src/com/vaadin/tests/components/uitest/components/FormsCssTest.java
+++ b/uitest/src/com/vaadin/tests/components/uitest/components/FormsCssTest.java
@@ -41,6 +41,6 @@ public class FormsCssTest extends HorizontalLayout {
public void addComponent(com.vaadin.ui.Component c) {
parent.registerComponent(c);
super.addComponent(c);
- };
+ }
}
diff --git a/uitest/src/com/vaadin/tests/components/uitest/components/WindowsCssTest.java b/uitest/src/com/vaadin/tests/components/uitest/components/WindowsCssTest.java
index 8e6b68d666..9a2ebae7f3 100644
--- a/uitest/src/com/vaadin/tests/components/uitest/components/WindowsCssTest.java
+++ b/uitest/src/com/vaadin/tests/components/uitest/components/WindowsCssTest.java
@@ -110,7 +110,7 @@ public class WindowsCssTest extends VerticalLayout {
@Override
public void addStyleName(String style) {
styleName = style;
- };
+ }
@Override
public void removeStyleName(String style) {
diff --git a/uitest/src/com/vaadin/tests/dd/HorizontalSortableCssLayoutWithWrappers.java b/uitest/src/com/vaadin/tests/dd/HorizontalSortableCssLayoutWithWrappers.java
index 4e9e89add5..d17c618f59 100644
--- a/uitest/src/com/vaadin/tests/dd/HorizontalSortableCssLayoutWithWrappers.java
+++ b/uitest/src/com/vaadin/tests/dd/HorizontalSortableCssLayoutWithWrappers.java
@@ -24,7 +24,7 @@ public class HorizontalSortableCssLayoutWithWrappers extends Window {
@Override
protected String getCss(Component c) {
return "float:left; width:60px;height:60px;background: yellow;padding:2px;";
- };
+ }
};
class WrappedLabel extends DragAndDropWrapper {
diff --git a/uitest/src/com/vaadin/tests/layouts/TestAbsoluteLayout.java b/uitest/src/com/vaadin/tests/layouts/TestAbsoluteLayout.java
index 674287312d..5abe915307 100644
--- a/uitest/src/com/vaadin/tests/layouts/TestAbsoluteLayout.java
+++ b/uitest/src/com/vaadin/tests/layouts/TestAbsoluteLayout.java
@@ -67,7 +67,7 @@ public class TestAbsoluteLayout extends TestBase {
}
return instance;
}
- };
+ }
@Override
protected String getDescription() {
diff --git a/uitest/src/com/vaadin/tests/navigator/NavigatorTest.java b/uitest/src/com/vaadin/tests/navigator/NavigatorTest.java
index 81944abd40..ebbc684c9c 100644
--- a/uitest/src/com/vaadin/tests/navigator/NavigatorTest.java
+++ b/uitest/src/com/vaadin/tests/navigator/NavigatorTest.java
@@ -113,7 +113,7 @@ public class NavigatorTest extends UI {
@Override
public void afterViewChange(ViewChangeEvent event) {
}
- };
+ }
class NaviButton extends Button {
public NaviButton(final String path) {
diff --git a/uitest/src/com/vaadin/tests/push/EnableDisablePush.java b/uitest/src/com/vaadin/tests/push/EnableDisablePush.java
index ac37e75fea..d5646c976b 100644
--- a/uitest/src/com/vaadin/tests/push/EnableDisablePush.java
+++ b/uitest/src/com/vaadin/tests/push/EnableDisablePush.java
@@ -50,7 +50,7 @@ public class EnableDisablePush extends AbstractTestUI {
} catch (UIDetachedException e) {
}
}
- };
+ }
@Override
protected void setup(VaadinRequest request) {
diff --git a/uitest/src/com/vaadin/tests/tb3/ScreenshotTB3Test.java b/uitest/src/com/vaadin/tests/tb3/ScreenshotTB3Test.java
index a51421d3d5..4ea50cbe29 100644
--- a/uitest/src/com/vaadin/tests/tb3/ScreenshotTB3Test.java
+++ b/uitest/src/com/vaadin/tests/tb3/ScreenshotTB3Test.java
@@ -61,7 +61,7 @@ public abstract class ScreenshotTB3Test extends AbstractTB3Test {
String className = testClass.getSimpleName();
screenshotBaseName = className + "-" + testMethod;
- };
+ }
};
/**
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket20.java b/uitest/src/com/vaadin/tests/tickets/Ticket20.java
index 34ff1274ed..5f6305bcb0 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket20.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket20.java
@@ -76,7 +76,7 @@ public class Ticket20 extends LegacyApplication {
com.vaadin.ui.Button.ClickEvent event) {
mainWin.showNotification("The field is "
+ (tx.isValid() ? "" : "not ") + "valid");
- };
+ }
}));
}
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2337.java b/uitest/src/com/vaadin/tests/tickets/Ticket2337.java
index 71034f7e3d..80654ff678 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2337.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2337.java
@@ -32,7 +32,6 @@ public class Ticket2337 extends LegacyApplication {
@Override
public void buttonClick(ClickEvent event) {
gl.removeAllComponents();
- ;
}
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket846.java b/uitest/src/com/vaadin/tests/tickets/Ticket846.java
index 1450db2f6e..adc5663a8a 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket846.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket846.java
@@ -40,7 +40,7 @@ public class Ticket846 extends LegacyApplication {
com.vaadin.ui.Button.ClickEvent event) {
mainWin.showNotification("The field is "
+ (tx.isValid() ? "" : "not ") + "valid");
- };
+ }
}));
TextField caption = new TextField("Caption",
new MethodProperty<String>(tx, "caption"));