aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--client/src/com/vaadin/client/ui/VFilterSelect.java4
-rw-r--r--client/src/com/vaadin/client/ui/VScrollTable.java2
-rw-r--r--client/src/com/vaadin/client/ui/VUnknownComponent.java2
-rw-r--r--client/src/com/vaadin/client/ui/absolutelayout/AbsoluteLayoutConnector.java4
-rw-r--r--client/src/com/vaadin/client/ui/csslayout/CssLayoutConnector.java2
-rw-r--r--client/src/com/vaadin/client/ui/dd/VHtml5File.java2
-rw-r--r--client/src/com/vaadin/client/ui/form/FormConnector.java2
-rw-r--r--client/src/com/vaadin/client/ui/gridlayout/GridLayoutConnector.java2
-rw-r--r--client/src/com/vaadin/client/ui/richtextarea/RichTextAreaConnector.java2
-rw-r--r--client/src/com/vaadin/client/ui/splitpanel/AbstractSplitPanelConnector.java4
-rw-r--r--client/src/com/vaadin/client/ui/window/WindowConnector.java2
-rw-r--r--server/src/com/vaadin/data/util/ContainerHierarchicalWrapper.java2
-rw-r--r--server/src/com/vaadin/data/util/ListSet.java2
-rw-r--r--server/src/com/vaadin/data/util/MethodProperty.java4
-rw-r--r--server/src/com/vaadin/data/util/MethodPropertyDescriptor.java2
-rw-r--r--server/src/com/vaadin/data/util/filter/Compare.java2
-rw-r--r--server/src/com/vaadin/event/FieldEvents.java2
-rw-r--r--server/src/com/vaadin/event/ListenerMethod.java4
-rw-r--r--server/src/com/vaadin/navigator/Navigator.java2
-rw-r--r--server/src/com/vaadin/ui/ConnectorTracker.java2
-rw-r--r--server/src/com/vaadin/ui/Upload.java2
-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
-rw-r--r--shared/src/com/vaadin/shared/ui/datefield/Resolution.java2
-rw-r--r--shared/src/com/vaadin/shared/ui/ui/NotificationConfigurationBean.java2
-rw-r--r--shared/src/com/vaadin/shared/ui/ui/UIState.java2
-rw-r--r--shared/src/com/vaadin/shared/ui/window/WindowState.java4
-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
53 files changed, 61 insertions, 63 deletions
diff --git a/client/src/com/vaadin/client/ui/VFilterSelect.java b/client/src/com/vaadin/client/ui/VFilterSelect.java
index 9bace9141c..5906592c29 100644
--- a/client/src/com/vaadin/client/ui/VFilterSelect.java
+++ b/client/src/com/vaadin/client/ui/VFilterSelect.java
@@ -1031,7 +1031,7 @@ public class VFilterSelect extends Composite implements Field, KeyDownHandler,
/** For internal use only. May be removed or replaced in the future. */
public enum Select {
NONE, FIRST, LAST
- };
+ }
/** For internal use only. May be removed or replaced in the future. */
public Select selectPopupItemWhenResponseIsReceived = Select.NONE;
@@ -1636,7 +1636,7 @@ public class VFilterSelect extends Composite implements Field, KeyDownHandler,
case KeyCodes.KEY_PAGEDOWN:
case KeyCodes.KEY_PAGEUP:
case KeyCodes.KEY_ESCAPE:
- ; // NOP
+ // NOP
break;
default:
if (textInputEnabled) {
diff --git a/client/src/com/vaadin/client/ui/VScrollTable.java b/client/src/com/vaadin/client/ui/VScrollTable.java
index 59d1131ff5..a9c77e11d9 100644
--- a/client/src/com/vaadin/client/ui/VScrollTable.java
+++ b/client/src/com/vaadin/client/ui/VScrollTable.java
@@ -348,7 +348,7 @@ public class VScrollTable extends FlowPanel implements HasWidgets,
return startRow.getIndex() + length - 1;
}
- };
+ }
private final HashSet<SelectionRange> selectedRowRanges = new HashSet<SelectionRange>();
diff --git a/client/src/com/vaadin/client/ui/VUnknownComponent.java b/client/src/com/vaadin/client/ui/VUnknownComponent.java
index e77a4f76dd..ea97110aaa 100644
--- a/client/src/com/vaadin/client/ui/VUnknownComponent.java
+++ b/client/src/com/vaadin/client/ui/VUnknownComponent.java
@@ -22,7 +22,7 @@ import com.vaadin.client.SimpleTree;
public class VUnknownComponent extends Composite {
- com.google.gwt.user.client.ui.Label caption = new com.google.gwt.user.client.ui.Label();;
+ com.google.gwt.user.client.ui.Label caption = new com.google.gwt.user.client.ui.Label();
SimpleTree uidlTree;
protected VerticalPanel panel;
diff --git a/client/src/com/vaadin/client/ui/absolutelayout/AbsoluteLayoutConnector.java b/client/src/com/vaadin/client/ui/absolutelayout/AbsoluteLayoutConnector.java
index da79639dcd..c3823b62ea 100644
--- a/client/src/com/vaadin/client/ui/absolutelayout/AbsoluteLayoutConnector.java
+++ b/client/src/com/vaadin/client/ui/absolutelayout/AbsoluteLayoutConnector.java
@@ -53,7 +53,7 @@ public class AbsoluteLayoutConnector extends
@Override
protected LayoutClickRpc getLayoutClickRPC() {
return getRpcProxy(AbsoluteLayoutServerRpc.class);
- };
+ }
};
private StateChangeHandler childStateChangeHandler = new StateChangeHandler() {
@@ -163,7 +163,7 @@ public class AbsoluteLayoutConnector extends
private void setChildWidgetPosition(ComponentConnector child) {
getWidget().setWidgetPosition(child.getWidget(),
getState().connectorToCssPosition.get(child.getConnectorId()));
- };
+ }
/*
* (non-Javadoc)
diff --git a/client/src/com/vaadin/client/ui/csslayout/CssLayoutConnector.java b/client/src/com/vaadin/client/ui/csslayout/CssLayoutConnector.java
index 45e52c890e..a62dc331ee 100644
--- a/client/src/com/vaadin/client/ui/csslayout/CssLayoutConnector.java
+++ b/client/src/com/vaadin/client/ui/csslayout/CssLayoutConnector.java
@@ -54,7 +54,7 @@ public class CssLayoutConnector extends AbstractLayoutConnector {
@Override
protected LayoutClickRpc getLayoutClickRPC() {
return getRpcProxy(CssLayoutServerRpc.class);
- };
+ }
};
private final FastStringMap<VCaption> childIdToCaption = FastStringMap
diff --git a/client/src/com/vaadin/client/ui/dd/VHtml5File.java b/client/src/com/vaadin/client/ui/dd/VHtml5File.java
index c4ad615fbd..ef74439063 100644
--- a/client/src/com/vaadin/client/ui/dd/VHtml5File.java
+++ b/client/src/com/vaadin/client/ui/dd/VHtml5File.java
@@ -23,7 +23,7 @@ import com.google.gwt.core.client.JavaScriptObject;
public class VHtml5File extends JavaScriptObject {
protected VHtml5File() {
- };
+ }
public native final String getName()
/*-{
diff --git a/client/src/com/vaadin/client/ui/form/FormConnector.java b/client/src/com/vaadin/client/ui/form/FormConnector.java
index a6015170c2..f5256adbb2 100644
--- a/client/src/com/vaadin/client/ui/form/FormConnector.java
+++ b/client/src/com/vaadin/client/ui/form/FormConnector.java
@@ -73,7 +73,7 @@ public class FormConnector extends AbstractComponentContainerConnector
protected void init() {
getLayoutManager().addElementResizeListener(
getWidget().errorMessage.getElement(), footerResizeListener);
- };
+ }
@Override
public void onUnregister() {
diff --git a/client/src/com/vaadin/client/ui/gridlayout/GridLayoutConnector.java b/client/src/com/vaadin/client/ui/gridlayout/GridLayoutConnector.java
index 29d41e00b7..ff1654ee49 100644
--- a/client/src/com/vaadin/client/ui/gridlayout/GridLayoutConnector.java
+++ b/client/src/com/vaadin/client/ui/gridlayout/GridLayoutConnector.java
@@ -56,7 +56,7 @@ public class GridLayoutConnector extends AbstractComponentContainerConnector
@Override
protected LayoutClickRpc getLayoutClickRPC() {
return getRpcProxy(GridLayoutServerRpc.class);
- };
+ }
};
diff --git a/client/src/com/vaadin/client/ui/richtextarea/RichTextAreaConnector.java b/client/src/com/vaadin/client/ui/richtextarea/RichTextAreaConnector.java
index d2576eb133..a19e931713 100644
--- a/client/src/com/vaadin/client/ui/richtextarea/RichTextAreaConnector.java
+++ b/client/src/com/vaadin/client/ui/richtextarea/RichTextAreaConnector.java
@@ -109,5 +109,5 @@ public class RichTextAreaConnector extends AbstractFieldConnector implements
getState().immediate);
}
}
- };
+ }
}
diff --git a/client/src/com/vaadin/client/ui/splitpanel/AbstractSplitPanelConnector.java b/client/src/com/vaadin/client/ui/splitpanel/AbstractSplitPanelConnector.java
index 464dd5057c..b01564b761 100644
--- a/client/src/com/vaadin/client/ui/splitpanel/AbstractSplitPanelConnector.java
+++ b/client/src/com/vaadin/client/ui/splitpanel/AbstractSplitPanelConnector.java
@@ -103,12 +103,12 @@ public abstract class AbstractSplitPanelConnector extends
}
return super.shouldFireEvent(event);
- };
+ }
@Override
protected Element getRelativeToElement() {
return getWidget().splitter;
- };
+ }
@Override
protected void fireClick(NativeEvent event,
diff --git a/client/src/com/vaadin/client/ui/window/WindowConnector.java b/client/src/com/vaadin/client/ui/window/WindowConnector.java
index b6fe541c00..d456d75d96 100644
--- a/client/src/com/vaadin/client/ui/window/WindowConnector.java
+++ b/client/src/com/vaadin/client/ui/window/WindowConnector.java
@@ -94,7 +94,7 @@ public class WindowConnector extends AbstractSingleComponentContainerConnector
@Override
public boolean delegateCaptionHandling() {
return false;
- };
+ }
@Override
protected void init() {
diff --git a/server/src/com/vaadin/data/util/ContainerHierarchicalWrapper.java b/server/src/com/vaadin/data/util/ContainerHierarchicalWrapper.java
index 8022b4d571..bb592245f1 100644
--- a/server/src/com/vaadin/data/util/ContainerHierarchicalWrapper.java
+++ b/server/src/com/vaadin/data/util/ContainerHierarchicalWrapper.java
@@ -95,7 +95,7 @@ public class ContainerHierarchicalWrapper implements Container.Hierarchical,
}
return 0;
}
- };
+ }
/**
* Constructs a new hierarchical wrapper for an existing Container. Works
diff --git a/server/src/com/vaadin/data/util/ListSet.java b/server/src/com/vaadin/data/util/ListSet.java
index 2563366229..55ef398b20 100644
--- a/server/src/com/vaadin/data/util/ListSet.java
+++ b/server/src/com/vaadin/data/util/ListSet.java
@@ -82,7 +82,7 @@ public class ListSet<E> extends ArrayList<E> {
} else {
return false;
}
- };
+ }
/**
* Works as java.util.ArrayList#add(int, java.lang.Object) but returns
diff --git a/server/src/com/vaadin/data/util/MethodProperty.java b/server/src/com/vaadin/data/util/MethodProperty.java
index 3cba8c2eab..0464d50b62 100644
--- a/server/src/com/vaadin/data/util/MethodProperty.java
+++ b/server/src/com/vaadin/data/util/MethodProperty.java
@@ -108,7 +108,7 @@ public class MethodProperty<T> extends AbstractProperty<T> {
out.writeObject(null);
out.writeObject(null);
}
- };
+ }
/* Special serialization to handle method references */
private void readObject(java.io.ObjectInputStream in) throws IOException,
@@ -142,7 +142,7 @@ public class MethodProperty<T> extends AbstractProperty<T> {
} catch (NoSuchMethodException e) {
getLogger().log(Level.SEVERE, "Internal deserialization error", e);
}
- };
+ }
/**
* <p>
diff --git a/server/src/com/vaadin/data/util/MethodPropertyDescriptor.java b/server/src/com/vaadin/data/util/MethodPropertyDescriptor.java
index 7caebac317..007fdc4adc 100644
--- a/server/src/com/vaadin/data/util/MethodPropertyDescriptor.java
+++ b/server/src/com/vaadin/data/util/MethodPropertyDescriptor.java
@@ -122,7 +122,7 @@ public class MethodPropertyDescriptor<BT> implements
} catch (NoSuchMethodException e) {
getLogger().log(Level.SEVERE, "Internal deserialization error", e);
}
- };
+ }
@Override
public String getName() {
diff --git a/server/src/com/vaadin/data/util/filter/Compare.java b/server/src/com/vaadin/data/util/filter/Compare.java
index ac167673bd..1396c46d36 100644
--- a/server/src/com/vaadin/data/util/filter/Compare.java
+++ b/server/src/com/vaadin/data/util/filter/Compare.java
@@ -37,7 +37,7 @@ public abstract class Compare implements Filter {
public enum Operation {
EQUAL, GREATER, LESS, GREATER_OR_EQUAL, LESS_OR_EQUAL
- };
+ }
private final Object propertyId;
private final Operation operation;
diff --git a/server/src/com/vaadin/event/FieldEvents.java b/server/src/com/vaadin/event/FieldEvents.java
index d0479eec05..61c342891b 100644
--- a/server/src/com/vaadin/event/FieldEvents.java
+++ b/server/src/com/vaadin/event/FieldEvents.java
@@ -325,6 +325,6 @@ public interface FieldEvents {
public void focus() {
fireEvent(new FocusEvent(component));
}
- };
+ }
}
diff --git a/server/src/com/vaadin/event/ListenerMethod.java b/server/src/com/vaadin/event/ListenerMethod.java
index a0ecdc4769..20523920fd 100644
--- a/server/src/com/vaadin/event/ListenerMethod.java
+++ b/server/src/com/vaadin/event/ListenerMethod.java
@@ -98,7 +98,7 @@ public class ListenerMethod implements EventListener, Serializable {
throw e;
}
- };
+ }
/* Special serialization to handle method references */
private void readObject(java.io.ObjectInputStream in) throws IOException,
@@ -113,7 +113,7 @@ public class ListenerMethod implements EventListener, Serializable {
} catch (SecurityException e) {
getLogger().log(Level.SEVERE, "Internal deserialization error", e);
}
- };
+ }
private static Method findHighestMethod(Class<?> cls, String method,
Class<?>[] paramTypes) {
diff --git a/server/src/com/vaadin/navigator/Navigator.java b/server/src/com/vaadin/navigator/Navigator.java
index 540a3ee302..dbcec00ba9 100644
--- a/server/src/com/vaadin/navigator/Navigator.java
+++ b/server/src/com/vaadin/navigator/Navigator.java
@@ -794,7 +794,7 @@ public class Navigator implements Serializable {
@Override
public View getView(String viewName) {
return view;
- };
+ }
@Override
public String getViewName(String navigationState) {
diff --git a/server/src/com/vaadin/ui/ConnectorTracker.java b/server/src/com/vaadin/ui/ConnectorTracker.java
index 33d585adca..d985ffd124 100644
--- a/server/src/com/vaadin/ui/ConnectorTracker.java
+++ b/server/src/com/vaadin/ui/ConnectorTracker.java
@@ -635,7 +635,7 @@ public class ConnectorTracker implements Serializable {
stringDiffStates.put(key, diffStates.get(key).toString());
}
out.writeObject(stringDiffStates);
- };
+ }
/* Special serialization to JSONObjects which are not serializable */
private void readObject(java.io.ObjectInputStream in) throws IOException,
diff --git a/server/src/com/vaadin/ui/Upload.java b/server/src/com/vaadin/ui/Upload.java
index c8d9f3ff09..5677b1a16e 100644
--- a/server/src/com/vaadin/ui/Upload.java
+++ b/server/src/com/vaadin/ui/Upload.java
@@ -1184,5 +1184,5 @@ public class Upload extends AbstractComponent implements Component.Focusable,
}
return super.getListeners(eventType);
- };
+ }
}
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();
diff --git a/shared/src/com/vaadin/shared/ui/datefield/Resolution.java b/shared/src/com/vaadin/shared/ui/datefield/Resolution.java
index 16ae303f02..44ab39ba12 100644
--- a/shared/src/com/vaadin/shared/ui/datefield/Resolution.java
+++ b/shared/src/com/vaadin/shared/ui/datefield/Resolution.java
@@ -81,4 +81,4 @@ public enum Resolution {
}
return resolutions;
}
-};
+}
diff --git a/shared/src/com/vaadin/shared/ui/ui/NotificationConfigurationBean.java b/shared/src/com/vaadin/shared/ui/ui/NotificationConfigurationBean.java
index 05a1706763..6c8c743d57 100644
--- a/shared/src/com/vaadin/shared/ui/ui/NotificationConfigurationBean.java
+++ b/shared/src/com/vaadin/shared/ui/ui/NotificationConfigurationBean.java
@@ -32,7 +32,7 @@ public class NotificationConfigurationBean implements Serializable {
*/
public enum Role {
ALERT, STATUS
- };
+ }
private String prefix;
private String postfix;
diff --git a/shared/src/com/vaadin/shared/ui/ui/UIState.java b/shared/src/com/vaadin/shared/ui/ui/UIState.java
index 4cde452a2b..339d671531 100644
--- a/shared/src/com/vaadin/shared/ui/ui/UIState.java
+++ b/shared/src/com/vaadin/shared/ui/ui/UIState.java
@@ -63,7 +63,7 @@ public class UIState extends TabIndexState {
null, Role.STATUS));
setup.put("assistive", new NotificationConfigurationBean("Note: ",
null, Role.STATUS));
- };
+ }
}
public static class PushConfigurationState implements Serializable {
diff --git a/shared/src/com/vaadin/shared/ui/window/WindowState.java b/shared/src/com/vaadin/shared/ui/window/WindowState.java
index 3cb6bbe61e..e27bf87e88 100644
--- a/shared/src/com/vaadin/shared/ui/window/WindowState.java
+++ b/shared/src/com/vaadin/shared/ui/window/WindowState.java
@@ -28,13 +28,13 @@ public class WindowState extends PanelState {
*/
public enum WindowRole {
ALERTDIALOG, DIALOG
- };
+ }
public boolean modal = false;
public boolean resizable = true;
public boolean resizeLazy = false;
public boolean draggable = true;
- public boolean centered = false;;
+ public boolean centered = false;
public int positionX = -1;
public int positionY = -1;
public WindowMode windowMode = WindowMode.NORMAL;
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"));