summaryrefslogtreecommitdiffstats
path: root/server/tests
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 /server/tests
parenta70ef27bb7b6e8c41a27041bdd1b794c95544be8 (diff)
downloadvaadin-framework-4f7c09daf43b29e8df9bbce61ff90e9facf78425.tar.gz
vaadin-framework-4f7c09daf43b29e8df9bbce61ff90e9facf78425.zip
Remove all unnecessary semicolons reported by Eclipse
Change-Id: I15f6fff50e709238655a0a50f605a833e2be7d6f
Diffstat (limited to 'server/tests')
-rw-r--r--server/tests/src/com/vaadin/tests/data/converter/ConverterFactory.java2
-rw-r--r--server/tests/src/com/vaadin/tests/server/TestPropertyFormatter.java2
-rw-r--r--server/tests/src/com/vaadin/tests/server/component/abstractfield/RemoveListenersOnDetach.java4
-rw-r--r--server/tests/src/com/vaadin/tests/server/component/window/AttachDetachWindow.java4
-rw-r--r--server/tests/src/com/vaadin/ui/AbsFieldDataSourceLocaleChange.java1
-rw-r--r--server/tests/src/com/vaadin/util/TestCurrentInstance.java4
6 files changed, 8 insertions, 9 deletions
diff --git a/server/tests/src/com/vaadin/tests/data/converter/ConverterFactory.java b/server/tests/src/com/vaadin/tests/data/converter/ConverterFactory.java
index b53c5a930f..306e2f0405 100644
--- a/server/tests/src/com/vaadin/tests/data/converter/ConverterFactory.java
+++ b/server/tests/src/com/vaadin/tests/data/converter/ConverterFactory.java
@@ -78,7 +78,7 @@ public class ConverterFactory extends TestCase {
@Override
public VaadinSession getSession() {
return appWithCustomIntegerConverter;
- };
+ }
};
tf.setConverter(Integer.class);
// The application converter always returns 42. Current application is
diff --git a/server/tests/src/com/vaadin/tests/server/TestPropertyFormatter.java b/server/tests/src/com/vaadin/tests/server/TestPropertyFormatter.java
index 48c60c83c4..b47a2953ce 100644
--- a/server/tests/src/com/vaadin/tests/server/TestPropertyFormatter.java
+++ b/server/tests/src/com/vaadin/tests/server/TestPropertyFormatter.java
@@ -26,7 +26,7 @@ public class TestPropertyFormatter extends TestCase {
public Object parse(String formattedValue) throws Exception {
return getExpectedClass().newInstance();
}
- };
+ }
@SuppressWarnings("rawtypes")
private Class expectedClass;
diff --git a/server/tests/src/com/vaadin/tests/server/component/abstractfield/RemoveListenersOnDetach.java b/server/tests/src/com/vaadin/tests/server/component/abstractfield/RemoveListenersOnDetach.java
index fcf17cc499..f391d15fb3 100644
--- a/server/tests/src/com/vaadin/tests/server/component/abstractfield/RemoveListenersOnDetach.java
+++ b/server/tests/src/com/vaadin/tests/server/component/abstractfield/RemoveListenersOnDetach.java
@@ -56,12 +56,12 @@ public class RemoveListenersOnDetach {
@Override
public com.vaadin.ui.UI getUI() {
return uI;
- };
+ }
@Override
public VaadinSession getSession() {
return application;
- };
+ }
};
Property<String> property = new AbstractProperty<String>() {
diff --git a/server/tests/src/com/vaadin/tests/server/component/window/AttachDetachWindow.java b/server/tests/src/com/vaadin/tests/server/component/window/AttachDetachWindow.java
index 485b17830f..51d396801d 100644
--- a/server/tests/src/com/vaadin/tests/server/component/window/AttachDetachWindow.java
+++ b/server/tests/src/com/vaadin/tests/server/component/window/AttachDetachWindow.java
@@ -31,7 +31,7 @@ public class AttachDetachWindow {
private class TestWindow extends Window implements TestContainer {
boolean windowAttachCalled = false;
boolean windowDetachCalled = false;
- private TestContent testContent = new TestContent();;
+ private TestContent testContent = new TestContent();
TestWindow() {
setContent(testContent);
@@ -110,7 +110,7 @@ public class AttachDetachWindow {
private class TestUI extends UI implements TestContainer {
boolean rootAttachCalled = false;
boolean rootDetachCalled = false;
- private TestContent testContent = new TestContent();;
+ private TestContent testContent = new TestContent();
public TestUI() {
setContent(testContent);
diff --git a/server/tests/src/com/vaadin/ui/AbsFieldDataSourceLocaleChange.java b/server/tests/src/com/vaadin/ui/AbsFieldDataSourceLocaleChange.java
index 55d5771f80..ff615e3d91 100644
--- a/server/tests/src/com/vaadin/ui/AbsFieldDataSourceLocaleChange.java
+++ b/server/tests/src/com/vaadin/ui/AbsFieldDataSourceLocaleChange.java
@@ -37,7 +37,6 @@ public class AbsFieldDataSourceLocaleChange {
public void localeChangesOnAttach() {
TextField tf = new TextField();
- ;
tf.setConverter(new StringToIntegerConverter() {
@Override
protected NumberFormat getFormat(Locale locale) {
diff --git a/server/tests/src/com/vaadin/util/TestCurrentInstance.java b/server/tests/src/com/vaadin/util/TestCurrentInstance.java
index 1910172aa8..09ef9514e5 100644
--- a/server/tests/src/com/vaadin/util/TestCurrentInstance.java
+++ b/server/tests/src/com/vaadin/util/TestCurrentInstance.java
@@ -70,7 +70,7 @@ public class TestCurrentInstance {
Assert.assertEquals(TestCurrentInstance.this,
CurrentInstance.get(TestCurrentInstance.class));
threadFailed.set(false);
- };
+ }
};
t.start();
CurrentInstance.set(TestCurrentInstance.class, null);
@@ -103,7 +103,7 @@ public class TestCurrentInstance {
} catch (Exception e) {
e.printStackTrace();
}
- };
+ }
};
t.start();