aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--client/src/main/java/com/vaadin/client/connectors/AbstractMultiSelectConnector.java3
-rw-r--r--client/src/main/java/com/vaadin/client/connectors/AbstractSingleSelectConnector.java4
-rw-r--r--client/src/main/java/com/vaadin/client/ui/AbstractComponentConnector.java3
-rw-r--r--client/src/main/java/com/vaadin/client/ui/AbstractFieldConnector.java2
-rw-r--r--client/src/main/java/com/vaadin/client/ui/VAbstractPopupCalendar.java2
-rw-r--r--client/src/main/java/com/vaadin/client/ui/VAbstractTextualDate.java3
-rw-r--r--client/src/main/java/com/vaadin/client/ui/VColorPicker.java3
-rw-r--r--client/src/main/java/com/vaadin/client/ui/VNativeSelect.java4
-rw-r--r--client/src/main/java/com/vaadin/client/ui/VTextArea.java2
-rw-r--r--client/src/main/java/com/vaadin/client/ui/VTwinColSelect.java4
-rw-r--r--client/src/main/java/com/vaadin/client/ui/combobox/ComboBoxConnector.java6
-rw-r--r--client/src/main/java/com/vaadin/client/ui/optiongroup/CheckBoxGroupConnector.java4
-rw-r--r--compatibility-client/src/main/java/com/vaadin/v7/client/ui/AbstractFieldConnector.java4
-rw-r--r--compatibility-client/src/main/java/com/vaadin/v7/client/ui/VNativeSelect.java3
-rw-r--r--compatibility-client/src/main/java/com/vaadin/v7/client/ui/VPopupCalendar.java4
-rw-r--r--compatibility-client/src/main/java/com/vaadin/v7/client/ui/VScrollTable.java3
-rw-r--r--compatibility-client/src/main/java/com/vaadin/v7/client/ui/VTextualDate.java4
-rw-r--r--compatibility-client/src/main/java/com/vaadin/v7/client/ui/VTwinColSelect.java4
-rw-r--r--compatibility-client/src/main/java/com/vaadin/v7/client/ui/table/TableConnector.java3
-rw-r--r--compatibility-server/src/main/java/com/vaadin/v7/data/Buffered.java2
-rw-r--r--compatibility-server/src/main/java/com/vaadin/v7/data/BufferedValidatable.java4
-rw-r--r--compatibility-server/src/main/java/com/vaadin/v7/data/Container.java6
-rw-r--r--compatibility-server/src/main/java/com/vaadin/v7/data/Item.java8
-rw-r--r--compatibility-server/src/main/java/com/vaadin/v7/data/Property.java6
-rw-r--r--compatibility-server/src/main/java/com/vaadin/v7/data/util/AbstractContainer.java5
-rw-r--r--compatibility-server/src/main/java/com/vaadin/v7/data/util/AbstractInMemoryContainer.java4
-rw-r--r--compatibility-server/src/main/java/com/vaadin/v7/data/util/IndexedContainer.java2
-rw-r--r--compatibility-server/src/main/java/com/vaadin/v7/data/util/TransactionalPropertyWrapper.java3
-rw-r--r--compatibility-server/src/main/java/com/vaadin/v7/data/util/filter/UnsupportedFilterException.java6
-rw-r--r--compatibility-server/src/main/java/com/vaadin/v7/data/util/sqlcontainer/SQLContainer.java2
-rw-r--r--compatibility-server/src/main/java/com/vaadin/v7/event/ItemClickEvent.java2
-rw-r--r--compatibility-server/src/main/java/com/vaadin/v7/server/communication/data/RpcDataProviderExtension.java3
-rw-r--r--compatibility-server/src/main/java/com/vaadin/v7/ui/AbstractField.java3
-rw-r--r--compatibility-server/src/main/java/com/vaadin/v7/ui/AbstractSelect.java4
-rw-r--r--compatibility-server/src/main/java/com/vaadin/v7/ui/Field.java4
-rw-r--r--compatibility-server/src/main/java/com/vaadin/v7/ui/Form.java2
-rw-r--r--compatibility-server/src/main/java/com/vaadin/v7/ui/Grid.java2
-rw-r--r--compatibility-server/src/main/java/com/vaadin/v7/ui/ProgressBar.java3
-rw-r--r--compatibility-server/src/main/java/com/vaadin/v7/ui/Table.java5
-rw-r--r--compatibility-server/src/main/java/com/vaadin/v7/ui/components/calendar/CalendarComponentEvents.java2
-rw-r--r--compatibility-server/src/main/java/com/vaadin/v7/ui/components/colorpicker/ColorSelector.java4
-rw-r--r--server/src/main/java/com/vaadin/data/HasItems.java3
-rw-r--r--server/src/main/java/com/vaadin/data/provider/DataCommunicator.java3
-rw-r--r--server/src/main/java/com/vaadin/event/ActionManager.java2
-rw-r--r--server/src/main/java/com/vaadin/event/ListenerMethod.java4
-rw-r--r--server/src/main/java/com/vaadin/event/dd/acceptcriteria/ClientSideCriterion.java4
-rw-r--r--server/src/main/java/com/vaadin/event/dd/acceptcriteria/ServerSideCriterion.java4
-rw-r--r--server/src/main/java/com/vaadin/event/selection/SelectionEvent.java3
-rw-r--r--server/src/main/java/com/vaadin/server/ClassResource.java4
-rw-r--r--server/src/main/java/com/vaadin/server/CustomizedSystemMessages.java5
-rw-r--r--server/src/main/java/com/vaadin/server/ExternalResource.java3
-rw-r--r--server/src/main/java/com/vaadin/server/JsonPaintTarget.java14
-rw-r--r--server/src/main/java/com/vaadin/server/KeyMapper.java3
-rw-r--r--server/src/main/java/com/vaadin/server/PaintException.java3
-rw-r--r--server/src/main/java/com/vaadin/server/UIProviderEvent.java3
-rw-r--r--server/src/main/java/com/vaadin/server/communication/PushRequestHandler.java3
-rw-r--r--server/src/main/java/com/vaadin/ui/ComboBox.java2
-rw-r--r--server/src/main/java/com/vaadin/ui/Component.java3
-rw-r--r--server/src/main/java/com/vaadin/ui/Layout.java2
-rw-r--r--server/src/main/java/com/vaadin/ui/MultiSelect.java4
-rw-r--r--server/src/main/java/com/vaadin/ui/Notification.java2
-rw-r--r--server/src/main/java/com/vaadin/ui/UI.java2
-rw-r--r--server/src/main/java/com/vaadin/ui/Window.java2
-rw-r--r--shared/src/main/java/com/vaadin/shared/data/sort/SortDirection.java4
-rw-r--r--shared/src/main/java/com/vaadin/shared/ui/absolutelayout/AbsoluteLayoutServerRpc.java3
-rw-r--r--shared/src/main/java/com/vaadin/shared/ui/csslayout/CssLayoutServerRpc.java3
-rw-r--r--shared/src/main/java/com/vaadin/shared/ui/embedded/EmbeddedServerRpc.java3
-rw-r--r--shared/src/main/java/com/vaadin/shared/ui/gridlayout/GridLayoutServerRpc.java3
-rw-r--r--shared/src/main/java/com/vaadin/shared/ui/image/ImageServerRpc.java3
-rw-r--r--shared/src/main/java/com/vaadin/shared/ui/orderedlayout/AbstractOrderedLayoutServerRpc.java3
-rw-r--r--shared/src/main/java/com/vaadin/shared/ui/panel/PanelServerRpc.java3
-rw-r--r--shared/src/main/java/com/vaadin/shared/ui/ui/UIServerRpc.java3
-rw-r--r--shared/src/main/java/com/vaadin/shared/ui/window/WindowServerRpc.java3
-rw-r--r--uitest/src/main/java/com/vaadin/tests/components/button/Buttons3.java4
-rw-r--r--uitest/src/main/java/com/vaadin/tests/components/table/ExpandingContainer.java2
-rw-r--r--uitest/src/main/java/com/vaadin/tests/components/table/Tables.java3
-rw-r--r--uitest/src/main/java/com/vaadin/tests/dd/CustomDDImplementation.java3
-rw-r--r--uitest/src/main/java/com/vaadin/tests/minitutorials/v7b9/SecretView.java3
-rw-r--r--uitest/src/main/java/com/vaadin/tests/util/PersonContainer.java4
-rw-r--r--uitest/src/main/java/com/vaadin/tests/util/ResizeTerrorizer.java3
-rw-r--r--uitest/src/main/java/com/vaadin/v7/tests/components/passwordfield/PasswordFieldTest.java4
-rw-r--r--uitest/src/main/java/com/vaadin/v7/tests/components/textfield/TextFieldTest.java4
82 files changed, 104 insertions, 182 deletions
diff --git a/client/src/main/java/com/vaadin/client/connectors/AbstractMultiSelectConnector.java b/client/src/main/java/com/vaadin/client/connectors/AbstractMultiSelectConnector.java
index ee85b50ebe..b78ea914d7 100644
--- a/client/src/main/java/com/vaadin/client/connectors/AbstractMultiSelectConnector.java
+++ b/client/src/main/java/com/vaadin/client/connectors/AbstractMultiSelectConnector.java
@@ -25,7 +25,6 @@ import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.IsWidget;
import com.google.gwt.user.client.ui.Widget;
import com.vaadin.client.data.DataSource;
-import com.vaadin.client.ui.HasRequiredIndicator;
import com.vaadin.shared.Range;
import com.vaadin.shared.Registration;
import com.vaadin.shared.data.selection.MultiSelectServerRpc;
@@ -45,7 +44,7 @@ import elemental.json.JsonObject;
* @since 8.0
*/
public abstract class AbstractMultiSelectConnector
- extends AbstractListingConnector implements HasRequiredIndicator {
+ extends AbstractListingConnector {
/**
* Abstraction layer to help populate different multiselect widgets based on
diff --git a/client/src/main/java/com/vaadin/client/connectors/AbstractSingleSelectConnector.java b/client/src/main/java/com/vaadin/client/connectors/AbstractSingleSelectConnector.java
index 9df4afa084..2f0a02f5af 100644
--- a/client/src/main/java/com/vaadin/client/connectors/AbstractSingleSelectConnector.java
+++ b/client/src/main/java/com/vaadin/client/connectors/AbstractSingleSelectConnector.java
@@ -17,7 +17,6 @@ package com.vaadin.client.connectors;
import com.google.gwt.event.dom.client.HasAllFocusHandlers;
import com.google.gwt.user.client.ui.Widget;
-import com.vaadin.client.ui.HasRequiredIndicator;
import com.vaadin.shared.ui.AbstractSingleSelectState;
/**
@@ -27,8 +26,7 @@ import com.vaadin.shared.ui.AbstractSingleSelectState;
* @since 8.0
*/
public abstract class AbstractSingleSelectConnector<WIDGET extends Widget & HasAllFocusHandlers>
- extends AbstractFocusableListingConnector<WIDGET>
- implements HasRequiredIndicator {
+ extends AbstractFocusableListingConnector<WIDGET> {
@Override
public AbstractSingleSelectState getState() {
diff --git a/client/src/main/java/com/vaadin/client/ui/AbstractComponentConnector.java b/client/src/main/java/com/vaadin/client/ui/AbstractComponentConnector.java
index 76f72b6043..ec8c005da5 100644
--- a/client/src/main/java/com/vaadin/client/ui/AbstractComponentConnector.java
+++ b/client/src/main/java/com/vaadin/client/ui/AbstractComponentConnector.java
@@ -31,7 +31,6 @@ import com.google.gwt.user.client.ui.Focusable;
import com.google.gwt.user.client.ui.HasEnabled;
import com.google.gwt.user.client.ui.Widget;
import com.vaadin.client.BrowserInfo;
-import com.vaadin.client.ComponentConnector;
import com.vaadin.client.HasComponentsConnector;
import com.vaadin.client.LayoutManager;
import com.vaadin.client.MouseEventDetailsBuilder;
@@ -63,7 +62,7 @@ import com.vaadin.shared.ui.TabIndexState;
import com.vaadin.shared.ui.ui.UIState;
public abstract class AbstractComponentConnector extends AbstractConnector
- implements ComponentConnector, HasErrorIndicator {
+ implements HasErrorIndicator {
private HandlerRegistration contextHandler = null;
diff --git a/client/src/main/java/com/vaadin/client/ui/AbstractFieldConnector.java b/client/src/main/java/com/vaadin/client/ui/AbstractFieldConnector.java
index 7c6c681485..1650baee8d 100644
--- a/client/src/main/java/com/vaadin/client/ui/AbstractFieldConnector.java
+++ b/client/src/main/java/com/vaadin/client/ui/AbstractFieldConnector.java
@@ -19,7 +19,7 @@ import com.vaadin.client.StyleConstants;
import com.vaadin.shared.AbstractFieldState;
public abstract class AbstractFieldConnector extends AbstractComponentConnector
- implements HasRequiredIndicator, HasErrorIndicator {
+ implements HasRequiredIndicator {
@Override
public AbstractFieldState getState() {
diff --git a/client/src/main/java/com/vaadin/client/ui/VAbstractPopupCalendar.java b/client/src/main/java/com/vaadin/client/ui/VAbstractPopupCalendar.java
index 67ac878552..76ebe85c28 100644
--- a/client/src/main/java/com/vaadin/client/ui/VAbstractPopupCalendar.java
+++ b/client/src/main/java/com/vaadin/client/ui/VAbstractPopupCalendar.java
@@ -61,7 +61,7 @@ import com.vaadin.shared.ui.datefield.TextualDateFieldState;
*/
public abstract class VAbstractPopupCalendar<PANEL extends VAbstractCalendarPanel<R>, R extends Enum<R>>
extends VAbstractTextualDate<R>
- implements Field, ClickHandler, CloseHandler<PopupPanel>, SubPartAware {
+ implements ClickHandler, CloseHandler<PopupPanel> {
/** For internal use only. May be removed or replaced in the future. */
public final Button calendarToggle = new Button();
diff --git a/client/src/main/java/com/vaadin/client/ui/VAbstractTextualDate.java b/client/src/main/java/com/vaadin/client/ui/VAbstractTextualDate.java
index 8206f2f862..2fd153c458 100644
--- a/client/src/main/java/com/vaadin/client/ui/VAbstractTextualDate.java
+++ b/client/src/main/java/com/vaadin/client/ui/VAbstractTextualDate.java
@@ -52,7 +52,8 @@ import com.vaadin.shared.EventId;
* @since 8.0
*/
public abstract class VAbstractTextualDate<R extends Enum<R>>
- extends VDateField<R> implements Field, ChangeHandler, Focusable,
+ extends VDateField<R>
+ implements ChangeHandler, Focusable,
SubPartAware, HandlesAriaCaption, HandlesAriaInvalid,
HandlesAriaRequired, KeyDownHandler {
diff --git a/client/src/main/java/com/vaadin/client/ui/VColorPicker.java b/client/src/main/java/com/vaadin/client/ui/VColorPicker.java
index 48947b764c..65b19781a1 100644
--- a/client/src/main/java/com/vaadin/client/ui/VColorPicker.java
+++ b/client/src/main/java/com/vaadin/client/ui/VColorPicker.java
@@ -16,7 +16,6 @@
package com.vaadin.client.ui;
import com.google.gwt.event.dom.client.ClickEvent;
-import com.google.gwt.event.dom.client.ClickHandler;
import com.google.gwt.user.client.ui.HTML;
/**
@@ -24,7 +23,7 @@ import com.google.gwt.user.client.ui.HTML;
*
* @since 7.0.0
*/
-public class VColorPicker extends VButton implements ClickHandler {
+public class VColorPicker extends VButton {
private String color = null;
diff --git a/client/src/main/java/com/vaadin/client/ui/VNativeSelect.java b/client/src/main/java/com/vaadin/client/ui/VNativeSelect.java
index a7e3097bdf..0791cc0304 100644
--- a/client/src/main/java/com/vaadin/client/ui/VNativeSelect.java
+++ b/client/src/main/java/com/vaadin/client/ui/VNativeSelect.java
@@ -17,7 +17,6 @@ package com.vaadin.client.ui;
import java.util.Objects;
-import com.google.gwt.event.dom.client.HasAllFocusHandlers;
import com.google.gwt.user.client.ui.ListBox;
import com.vaadin.client.widgets.FocusableFlowPanelComposite;
import com.vaadin.shared.ui.nativeselect.NativeSelectState;
@@ -27,8 +26,7 @@ import com.vaadin.shared.ui.nativeselect.NativeSelectState;
*
* @author Vaadin Ltd.
*/
-public class VNativeSelect extends FocusableFlowPanelComposite
- implements HasAllFocusHandlers {
+public class VNativeSelect extends FocusableFlowPanelComposite {
private final ListBox listBox = new ListBox();
diff --git a/client/src/main/java/com/vaadin/client/ui/VTextArea.java b/client/src/main/java/com/vaadin/client/ui/VTextArea.java
index 18727361fe..4ca0948e0c 100644
--- a/client/src/main/java/com/vaadin/client/ui/VTextArea.java
+++ b/client/src/main/java/com/vaadin/client/ui/VTextArea.java
@@ -35,7 +35,7 @@ import com.vaadin.client.ui.dd.DragImageModifier;
*
*/
public class VTextArea extends VTextField
- implements DragImageModifier, AbstractTextFieldWidget {
+ implements DragImageModifier {
public static final String CLASSNAME = "v-textarea";
diff --git a/client/src/main/java/com/vaadin/client/ui/VTwinColSelect.java b/client/src/main/java/com/vaadin/client/ui/VTwinColSelect.java
index 4797aab311..023b6395b2 100644
--- a/client/src/main/java/com/vaadin/client/ui/VTwinColSelect.java
+++ b/client/src/main/java/com/vaadin/client/ui/VTwinColSelect.java
@@ -31,7 +31,6 @@ import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.ClickHandler;
import com.google.gwt.event.dom.client.DoubleClickEvent;
import com.google.gwt.event.dom.client.DoubleClickHandler;
-import com.google.gwt.event.dom.client.HasDoubleClickHandlers;
import com.google.gwt.event.dom.client.KeyCodes;
import com.google.gwt.event.dom.client.KeyDownEvent;
import com.google.gwt.event.dom.client.KeyDownHandler;
@@ -112,8 +111,7 @@ public class VTwinColSelect extends Composite implements MultiSelectWidget,
/**
* A multiselect ListBox which catches double clicks.
*/
- public class DoubleClickListBox extends ListBox
- implements HasDoubleClickHandlers {
+ public class DoubleClickListBox extends ListBox {
/**
* Constructs a new DoubleClickListBox.
*/
diff --git a/client/src/main/java/com/vaadin/client/ui/combobox/ComboBoxConnector.java b/client/src/main/java/com/vaadin/client/ui/combobox/ComboBoxConnector.java
index 2b3db9aa65..683776f2f0 100644
--- a/client/src/main/java/com/vaadin/client/ui/combobox/ComboBoxConnector.java
+++ b/client/src/main/java/com/vaadin/client/ui/combobox/ComboBoxConnector.java
@@ -23,11 +23,8 @@ import com.vaadin.client.Profiler;
import com.vaadin.client.annotations.OnStateChange;
import com.vaadin.client.communication.StateChangeEvent;
import com.vaadin.client.connectors.AbstractListingConnector;
-import com.vaadin.client.connectors.data.HasDataSource;
import com.vaadin.client.data.DataChangeHandler;
import com.vaadin.client.data.DataSource;
-import com.vaadin.client.ui.HasErrorIndicator;
-import com.vaadin.client.ui.HasRequiredIndicator;
import com.vaadin.client.ui.SimpleManagedLayout;
import com.vaadin.client.ui.VComboBox;
import com.vaadin.client.ui.VComboBox.ComboBoxSuggestion;
@@ -47,8 +44,7 @@ import elemental.json.JsonObject;
@Connect(ComboBox.class)
public class ComboBoxConnector extends AbstractListingConnector
- implements HasRequiredIndicator, HasDataSource, SimpleManagedLayout,
- HasErrorIndicator {
+ implements SimpleManagedLayout {
private ComboBoxServerRpc rpc = getRpcProxy(ComboBoxServerRpc.class);
private SelectionServerRpc selectionRpc = getRpcProxy(
diff --git a/client/src/main/java/com/vaadin/client/ui/optiongroup/CheckBoxGroupConnector.java b/client/src/main/java/com/vaadin/client/ui/optiongroup/CheckBoxGroupConnector.java
index 1ab5c1d591..b04266f00f 100644
--- a/client/src/main/java/com/vaadin/client/ui/optiongroup/CheckBoxGroupConnector.java
+++ b/client/src/main/java/com/vaadin/client/ui/optiongroup/CheckBoxGroupConnector.java
@@ -26,7 +26,6 @@ import com.vaadin.client.TooltipInfo;
import com.vaadin.client.communication.StateChangeEvent;
import com.vaadin.client.connectors.AbstractFocusableListingConnector;
import com.vaadin.client.data.DataSource;
-import com.vaadin.client.ui.HasRequiredIndicator;
import com.vaadin.client.ui.VCheckBoxGroup;
import com.vaadin.shared.data.selection.MultiSelectServerRpc;
import com.vaadin.shared.ui.Connect;
@@ -47,8 +46,7 @@ import elemental.json.JsonObject;
// TODO refactor to extend AbstractMultiSelectConnector, maybe when
// SelectionModel is removed from client side framwork8-issues#421
public class CheckBoxGroupConnector
- extends AbstractFocusableListingConnector<VCheckBoxGroup>
- implements HasRequiredIndicator {
+ extends AbstractFocusableListingConnector<VCheckBoxGroup> {
@Override
protected void init() {
diff --git a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/AbstractFieldConnector.java b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/AbstractFieldConnector.java
index c3d56c9690..7e27d3ac92 100644
--- a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/AbstractFieldConnector.java
+++ b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/AbstractFieldConnector.java
@@ -18,14 +18,13 @@ package com.vaadin.v7.client.ui;
import com.google.gwt.user.client.ui.Focusable;
import com.vaadin.client.StyleConstants;
import com.vaadin.client.annotations.OnStateChange;
-import com.vaadin.client.ui.HasErrorIndicator;
import com.vaadin.client.ui.HasRequiredIndicator;
import com.vaadin.v7.shared.AbstractFieldState;
@Deprecated
public abstract class AbstractFieldConnector
extends AbstractLegacyComponentConnector
- implements HasRequiredIndicator, HasErrorIndicator {
+ implements HasRequiredIndicator {
@Override
public AbstractFieldState getState() {
@@ -53,6 +52,7 @@ public abstract class AbstractFieldConnector
*
* @return true if required indicator should be shown
*/
+ @Deprecated
public boolean isRequired() {
return isRequiredIndicatorVisible();
}
diff --git a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VNativeSelect.java b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VNativeSelect.java
index 0dcad75648..1b1c8d52fa 100644
--- a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VNativeSelect.java
+++ b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VNativeSelect.java
@@ -23,9 +23,8 @@ import com.google.gwt.event.dom.client.ChangeEvent;
import com.google.gwt.user.client.ui.ListBox;
import com.vaadin.client.BrowserInfo;
import com.vaadin.client.UIDL;
-import com.vaadin.client.ui.Field;
-public class VNativeSelect extends VOptionGroupBase implements Field {
+public class VNativeSelect extends VOptionGroupBase {
public static final String CLASSNAME = "v-select";
diff --git a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VPopupCalendar.java b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VPopupCalendar.java
index e8c889a9c0..8f6131593b 100644
--- a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VPopupCalendar.java
+++ b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VPopupCalendar.java
@@ -48,8 +48,6 @@ import com.google.gwt.user.client.ui.Widget;
import com.vaadin.client.BrowserInfo;
import com.vaadin.client.ComputedStyle;
import com.vaadin.client.VConsole;
-import com.vaadin.client.ui.Field;
-import com.vaadin.client.ui.SubPartAware;
import com.vaadin.client.ui.VOverlay;
import com.vaadin.client.ui.aria.AriaHelper;
import com.vaadin.v7.client.ui.VCalendarPanel.FocusOutListener;
@@ -67,7 +65,7 @@ import com.vaadin.v7.shared.ui.datefield.Resolution;
*
*/
public class VPopupCalendar extends VTextualDate
- implements Field, ClickHandler, CloseHandler<PopupPanel>, SubPartAware {
+ implements ClickHandler, CloseHandler<PopupPanel> {
/** For internal use only. May be removed or replaced in the future. */
public final Button calendarToggle = new Button();
diff --git a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VScrollTable.java b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VScrollTable.java
index 54b2417e46..3fdd286ef0 100644
--- a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VScrollTable.java
+++ b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VScrollTable.java
@@ -74,7 +74,6 @@ import com.google.gwt.user.client.Event.NativePreviewHandler;
import com.google.gwt.user.client.Timer;
import com.google.gwt.user.client.Window;
import com.google.gwt.user.client.ui.FlowPanel;
-import com.google.gwt.user.client.ui.HasWidgets;
import com.google.gwt.user.client.ui.Panel;
import com.google.gwt.user.client.ui.PopupPanel;
import com.google.gwt.user.client.ui.UIObject;
@@ -142,7 +141,7 @@ import com.vaadin.v7.shared.ui.table.TableConstants;
* TODO implement unregistering for child components in Cells
*/
public class VScrollTable extends FlowPanel
- implements HasWidgets, ScrollHandler, VHasDropHandler, FocusHandler,
+ implements ScrollHandler, VHasDropHandler, FocusHandler,
BlurHandler, Focusable, ActionOwner, SubPartAware, DeferredWorker {
/**
diff --git a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VTextualDate.java b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VTextualDate.java
index bb2453c881..f28e62ac55 100644
--- a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VTextualDate.java
+++ b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VTextualDate.java
@@ -34,7 +34,6 @@ import com.vaadin.client.Focusable;
import com.vaadin.client.LocaleNotLoadedException;
import com.vaadin.client.LocaleService;
import com.vaadin.client.VConsole;
-import com.vaadin.client.ui.Field;
import com.vaadin.client.ui.SubPartAware;
import com.vaadin.client.ui.aria.AriaHelper;
import com.vaadin.client.ui.aria.HandlesAriaCaption;
@@ -43,7 +42,8 @@ import com.vaadin.client.ui.aria.HandlesAriaRequired;
import com.vaadin.shared.EventId;
import com.vaadin.v7.shared.ui.datefield.Resolution;
-public class VTextualDate extends VDateField implements Field, ChangeHandler,
+public class VTextualDate extends VDateField
+ implements ChangeHandler,
Focusable, SubPartAware, HandlesAriaCaption, HandlesAriaInvalid,
HandlesAriaRequired, KeyDownHandler {
diff --git a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VTwinColSelect.java b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VTwinColSelect.java
index 26d93762c2..f8b8466563 100644
--- a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VTwinColSelect.java
+++ b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VTwinColSelect.java
@@ -26,7 +26,6 @@ import com.google.gwt.dom.client.Style.Position;
import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.DoubleClickEvent;
import com.google.gwt.event.dom.client.DoubleClickHandler;
-import com.google.gwt.event.dom.client.HasDoubleClickHandlers;
import com.google.gwt.event.dom.client.KeyCodes;
import com.google.gwt.event.dom.client.KeyDownEvent;
import com.google.gwt.event.dom.client.KeyDownHandler;
@@ -76,8 +75,7 @@ public class VTwinColSelect extends VOptionGroupBase implements KeyDownHandler,
* A ListBox which catches double clicks.
*
*/
- public class DoubleClickListBox extends ListBox
- implements HasDoubleClickHandlers {
+ public class DoubleClickListBox extends ListBox {
public DoubleClickListBox(boolean isMultipleSelect) {
super(isMultipleSelect);
}
diff --git a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/table/TableConnector.java b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/table/TableConnector.java
index 2fc55c7f58..4e321b43d7 100644
--- a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/table/TableConnector.java
+++ b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/table/TableConnector.java
@@ -30,7 +30,6 @@ import com.vaadin.client.ConnectorHierarchyChangeEvent;
import com.vaadin.client.ConnectorHierarchyChangeEvent.ConnectorHierarchyChangeHandler;
import com.vaadin.client.DirectionalManagedLayout;
import com.vaadin.client.HasChildMeasurementHintConnector;
-import com.vaadin.client.HasComponentsConnector;
import com.vaadin.client.Paintable;
import com.vaadin.client.ServerConnector;
import com.vaadin.client.TooltipInfo;
@@ -52,7 +51,7 @@ import com.vaadin.v7.shared.ui.table.TableState;
@Connect(com.vaadin.v7.ui.Table.class)
public class TableConnector extends AbstractFieldConnector
- implements HasComponentsConnector, ConnectorHierarchyChangeHandler,
+ implements ConnectorHierarchyChangeHandler,
Paintable, DirectionalManagedLayout, PostLayoutListener,
HasChildMeasurementHintConnector {
diff --git a/compatibility-server/src/main/java/com/vaadin/v7/data/Buffered.java b/compatibility-server/src/main/java/com/vaadin/v7/data/Buffered.java
index 3e604841b5..2bebdd0603 100644
--- a/compatibility-server/src/main/java/com/vaadin/v7/data/Buffered.java
+++ b/compatibility-server/src/main/java/com/vaadin/v7/data/Buffered.java
@@ -122,7 +122,7 @@ public interface Buffered extends Serializable {
@SuppressWarnings("serial")
@Deprecated
public class SourceException extends RuntimeException
- implements Serializable, ErrorMessageProducer {
+ implements ErrorMessageProducer {
/** Source class implementing the buffered interface */
private final Buffered source;
diff --git a/compatibility-server/src/main/java/com/vaadin/v7/data/BufferedValidatable.java b/compatibility-server/src/main/java/com/vaadin/v7/data/BufferedValidatable.java
index 2fce51b8fd..b92650e3f3 100644
--- a/compatibility-server/src/main/java/com/vaadin/v7/data/BufferedValidatable.java
+++ b/compatibility-server/src/main/java/com/vaadin/v7/data/BufferedValidatable.java
@@ -18,8 +18,6 @@ package com.vaadin.v7.data;
import com.vaadin.data.Binder;
-import java.io.Serializable;
-
/**
* <p>
* This interface defines the combination of <code>Validatable</code> and
@@ -33,7 +31,7 @@ import java.io.Serializable;
*/
@Deprecated
public interface BufferedValidatable
- extends Buffered, Validatable, Serializable {
+ extends Buffered, Validatable {
/**
* Tests if the invalid data is committed to datasource. The default is
diff --git a/compatibility-server/src/main/java/com/vaadin/v7/data/Container.java b/compatibility-server/src/main/java/com/vaadin/v7/data/Container.java
index fb0739a1cf..f1a7e3e193 100644
--- a/compatibility-server/src/main/java/com/vaadin/v7/data/Container.java
+++ b/compatibility-server/src/main/java/com/vaadin/v7/data/Container.java
@@ -874,7 +874,7 @@ public interface Container extends Serializable {
* @since 5.0 (renamed from Filterable to SimpleFilterable in 6.6)
*/
@Deprecated
- public interface SimpleFilterable extends Container, Serializable {
+ public interface SimpleFilterable extends Container {
/**
* Add a filter for given property.
@@ -1018,7 +1018,7 @@ public interface Container extends Serializable {
* @since 6.6
*/
@Deprecated
- public interface Filterable extends Container, Serializable {
+ public interface Filterable extends Container {
/**
* Adds a filter for the container.
* <p>
@@ -1092,7 +1092,7 @@ public interface Container extends Serializable {
* </p>
*/
@Deprecated
- public interface Editor extends Container.Viewer, Serializable {
+ public interface Editor extends Container.Viewer {
}
diff --git a/compatibility-server/src/main/java/com/vaadin/v7/data/Item.java b/compatibility-server/src/main/java/com/vaadin/v7/data/Item.java
index aecd1bd21d..bcd855f7ae 100644
--- a/compatibility-server/src/main/java/com/vaadin/v7/data/Item.java
+++ b/compatibility-server/src/main/java/com/vaadin/v7/data/Item.java
@@ -16,12 +16,12 @@
package com.vaadin.v7.data;
-import com.vaadin.data.Binder;
-import com.vaadin.data.provider.DataProvider;
-
import java.io.Serializable;
import java.util.Collection;
+import com.vaadin.data.Binder;
+import com.vaadin.data.provider.DataProvider;
+
/**
* <p>
* Provides a mechanism for handling a set of Properties, each associated to a
@@ -123,7 +123,7 @@ public interface Item extends Serializable {
* </p>
*/
@Deprecated
- public interface Editor extends Item.Viewer, Serializable {
+ public interface Editor extends Item.Viewer {
}
diff --git a/compatibility-server/src/main/java/com/vaadin/v7/data/Property.java b/compatibility-server/src/main/java/com/vaadin/v7/data/Property.java
index 855713de0c..100d352cff 100644
--- a/compatibility-server/src/main/java/com/vaadin/v7/data/Property.java
+++ b/compatibility-server/src/main/java/com/vaadin/v7/data/Property.java
@@ -16,13 +16,13 @@
package com.vaadin.v7.data;
+import java.io.Serializable;
+
import com.vaadin.data.Binder;
import com.vaadin.data.HasValue;
import com.vaadin.data.ValueProvider;
import com.vaadin.server.Setter;
-import java.io.Serializable;
-
/**
* <p>
* The <code>Property</code> is a simple data object that contains one typed
@@ -249,7 +249,7 @@ public interface Property<T> extends Serializable {
* @since 3.0
*/
@Deprecated
- public interface Editor extends Property.Viewer, Serializable {
+ public interface Editor extends Property.Viewer {
}
diff --git a/compatibility-server/src/main/java/com/vaadin/v7/data/util/AbstractContainer.java b/compatibility-server/src/main/java/com/vaadin/v7/data/util/AbstractContainer.java
index 81d91c0d01..31f9ef69b9 100644
--- a/compatibility-server/src/main/java/com/vaadin/v7/data/util/AbstractContainer.java
+++ b/compatibility-server/src/main/java/com/vaadin/v7/data/util/AbstractContainer.java
@@ -15,7 +15,6 @@
*/
package com.vaadin.v7.data.util;
-import java.io.Serializable;
import java.util.Collection;
import java.util.Collections;
import java.util.EventObject;
@@ -63,7 +62,7 @@ public abstract class AbstractContainer implements Container {
*/
@Deprecated
protected static class BasePropertySetChangeEvent extends EventObject
- implements Container.PropertySetChangeEvent, Serializable {
+ implements Container.PropertySetChangeEvent {
protected BasePropertySetChangeEvent(Container source) {
super(source);
@@ -85,7 +84,7 @@ public abstract class AbstractContainer implements Container {
*/
@Deprecated
protected static class BaseItemSetChangeEvent extends EventObject
- implements Container.ItemSetChangeEvent, Serializable {
+ implements Container.ItemSetChangeEvent {
protected BaseItemSetChangeEvent(Container source) {
super(source);
diff --git a/compatibility-server/src/main/java/com/vaadin/v7/data/util/AbstractInMemoryContainer.java b/compatibility-server/src/main/java/com/vaadin/v7/data/util/AbstractInMemoryContainer.java
index 3a1c179c34..9aa7baf31e 100644
--- a/compatibility-server/src/main/java/com/vaadin/v7/data/util/AbstractInMemoryContainer.java
+++ b/compatibility-server/src/main/java/com/vaadin/v7/data/util/AbstractInMemoryContainer.java
@@ -15,7 +15,6 @@
*/
package com.vaadin.v7.data.util;
-import java.io.Serializable;
import java.util.Collection;
import java.util.Collections;
import java.util.EventObject;
@@ -151,8 +150,7 @@ public abstract class AbstractInMemoryContainer<ITEMIDTYPE, PROPERTYIDCLASS, ITE
}
}
- private abstract static class BaseItemAddOrRemoveEvent extends EventObject
- implements Serializable {
+ private abstract static class BaseItemAddOrRemoveEvent extends EventObject {
protected Object itemId;
protected int index;
protected int count;
diff --git a/compatibility-server/src/main/java/com/vaadin/v7/data/util/IndexedContainer.java b/compatibility-server/src/main/java/com/vaadin/v7/data/util/IndexedContainer.java
index fd1c768e9f..9a7fd97a3f 100644
--- a/compatibility-server/src/main/java/com/vaadin/v7/data/util/IndexedContainer.java
+++ b/compatibility-server/src/main/java/com/vaadin/v7/data/util/IndexedContainer.java
@@ -435,7 +435,7 @@ public class IndexedContainer
* @since 3.0
*/
private static class PropertyValueChangeEvent extends EventObject
- implements Property.ValueChangeEvent, Serializable {
+ implements Property.ValueChangeEvent {
private PropertyValueChangeEvent(Property source) {
super(source);
diff --git a/compatibility-server/src/main/java/com/vaadin/v7/data/util/TransactionalPropertyWrapper.java b/compatibility-server/src/main/java/com/vaadin/v7/data/util/TransactionalPropertyWrapper.java
index bbe51c09a0..b5188f5a5c 100644
--- a/compatibility-server/src/main/java/com/vaadin/v7/data/util/TransactionalPropertyWrapper.java
+++ b/compatibility-server/src/main/java/com/vaadin/v7/data/util/TransactionalPropertyWrapper.java
@@ -16,7 +16,6 @@
package com.vaadin.v7.data.util;
import com.vaadin.v7.data.Property;
-import com.vaadin.v7.data.Property.ValueChangeNotifier;
/**
* Wrapper class that helps implement two-phase commit for a non-transactional
@@ -45,7 +44,7 @@ import com.vaadin.v7.data.Property.ValueChangeNotifier;
@Deprecated
public class TransactionalPropertyWrapper<T> extends AbstractProperty<T>
- implements ValueChangeNotifier, Property.Transactional<T> {
+ implements Property.Transactional<T> {
private Property<T> wrappedProperty;
private boolean inTransaction = false;
diff --git a/compatibility-server/src/main/java/com/vaadin/v7/data/util/filter/UnsupportedFilterException.java b/compatibility-server/src/main/java/com/vaadin/v7/data/util/filter/UnsupportedFilterException.java
index e438433318..d73bc3bf57 100644
--- a/compatibility-server/src/main/java/com/vaadin/v7/data/util/filter/UnsupportedFilterException.java
+++ b/compatibility-server/src/main/java/com/vaadin/v7/data/util/filter/UnsupportedFilterException.java
@@ -17,8 +17,6 @@ package com.vaadin.v7.data.util.filter;
import com.vaadin.data.provider.Query;
-import java.io.Serializable;
-
/**
* Exception for cases where a container does not support a specific type of
* filters.
@@ -33,8 +31,8 @@ import java.io.Serializable;
* @deprecated As of 8.0, no replacement available. See {@link Query#getFilter()}
*/
@Deprecated
-public class UnsupportedFilterException extends RuntimeException
- implements Serializable {
+public class UnsupportedFilterException extends RuntimeException {
+
public UnsupportedFilterException() {
}
diff --git a/compatibility-server/src/main/java/com/vaadin/v7/data/util/sqlcontainer/SQLContainer.java b/compatibility-server/src/main/java/com/vaadin/v7/data/util/sqlcontainer/SQLContainer.java
index e8c6f99c90..719be13a8a 100644
--- a/compatibility-server/src/main/java/com/vaadin/v7/data/util/sqlcontainer/SQLContainer.java
+++ b/compatibility-server/src/main/java/com/vaadin/v7/data/util/sqlcontainer/SQLContainer.java
@@ -53,7 +53,7 @@ import com.vaadin.v7.data.util.sqlcontainer.query.generator.OracleGenerator;
* @deprecated As of 8.0, no replacement available, see {@link DataProvider}.
*/
@Deprecated
-public class SQLContainer implements Container, Container.Filterable,
+public class SQLContainer implements Container.Filterable,
Container.Indexed, Container.Sortable, Container.ItemSetChangeNotifier {
/** Query delegate */
diff --git a/compatibility-server/src/main/java/com/vaadin/v7/event/ItemClickEvent.java b/compatibility-server/src/main/java/com/vaadin/v7/event/ItemClickEvent.java
index 179581acc7..47411e2019 100644
--- a/compatibility-server/src/main/java/com/vaadin/v7/event/ItemClickEvent.java
+++ b/compatibility-server/src/main/java/com/vaadin/v7/event/ItemClickEvent.java
@@ -38,7 +38,7 @@ import com.vaadin.v7.data.Property;
*/
@SuppressWarnings("serial")
@Deprecated
-public class ItemClickEvent extends ClickEvent implements Serializable {
+public class ItemClickEvent extends ClickEvent {
private Item item;
private Object itemId;
private Object propertyId;
diff --git a/compatibility-server/src/main/java/com/vaadin/v7/server/communication/data/RpcDataProviderExtension.java b/compatibility-server/src/main/java/com/vaadin/v7/server/communication/data/RpcDataProviderExtension.java
index e2d7a81104..690f86a077 100644
--- a/compatibility-server/src/main/java/com/vaadin/v7/server/communication/data/RpcDataProviderExtension.java
+++ b/compatibility-server/src/main/java/com/vaadin/v7/server/communication/data/RpcDataProviderExtension.java
@@ -16,7 +16,6 @@
package com.vaadin.v7.server.communication.data;
-import java.io.Serializable;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
@@ -71,7 +70,7 @@ public class RpcDataProviderExtension extends AbstractExtension {
*
* @since 7.6
*/
- private class ActiveItemHandler implements Serializable, DataGenerator {
+ private class ActiveItemHandler implements DataGenerator {
private final Map<Object, GridValueChangeListener> activeItemMap = new HashMap<Object, GridValueChangeListener>();
private final KeyMapper<Object> keyMapper = new KeyMapper<Object>();
diff --git a/compatibility-server/src/main/java/com/vaadin/v7/ui/AbstractField.java b/compatibility-server/src/main/java/com/vaadin/v7/ui/AbstractField.java
index 066dd78c11..1b655d740f 100644
--- a/compatibility-server/src/main/java/com/vaadin/v7/ui/AbstractField.java
+++ b/compatibility-server/src/main/java/com/vaadin/v7/ui/AbstractField.java
@@ -16,7 +16,6 @@
package com.vaadin.v7.ui;
-import java.io.Serializable;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.Collection;
@@ -1183,7 +1182,7 @@ public abstract class AbstractField<T> extends AbstractLegacyComponent
*/
@Deprecated
public static class ReadOnlyStatusChangeEvent extends Component.Event
- implements Property.ReadOnlyStatusChangeEvent, Serializable {
+ implements Property.ReadOnlyStatusChangeEvent {
/**
* New instance of text change event.
diff --git a/compatibility-server/src/main/java/com/vaadin/v7/ui/AbstractSelect.java b/compatibility-server/src/main/java/com/vaadin/v7/ui/AbstractSelect.java
index 03a091a92a..6db155e92e 100644
--- a/compatibility-server/src/main/java/com/vaadin/v7/ui/AbstractSelect.java
+++ b/compatibility-server/src/main/java/com/vaadin/v7/ui/AbstractSelect.java
@@ -1746,7 +1746,7 @@ public abstract class AbstractSelect extends AbstractField<Object> implements
* Implementation of item set change event.
*/
private static class ItemSetChangeEvent extends EventObject
- implements Serializable, Container.ItemSetChangeEvent {
+ implements Container.ItemSetChangeEvent {
private ItemSetChangeEvent(Container source) {
super(source);
@@ -1768,7 +1768,7 @@ public abstract class AbstractSelect extends AbstractField<Object> implements
* Implementation of property set change event.
*/
private static class PropertySetChangeEvent extends EventObject
- implements Container.PropertySetChangeEvent, Serializable {
+ implements Container.PropertySetChangeEvent {
private PropertySetChangeEvent(Container source) {
super(source);
diff --git a/compatibility-server/src/main/java/com/vaadin/v7/ui/Field.java b/compatibility-server/src/main/java/com/vaadin/v7/ui/Field.java
index 6cb08af5f0..214b982aae 100644
--- a/compatibility-server/src/main/java/com/vaadin/v7/ui/Field.java
+++ b/compatibility-server/src/main/java/com/vaadin/v7/ui/Field.java
@@ -43,9 +43,9 @@ import com.vaadin.v7.data.Property;
* extend {@link AbstractField} instead.
*/
@Deprecated
-public interface Field<T> extends Component, BufferedValidatable, Property<T>,
+public interface Field<T> extends Focusable, BufferedValidatable, Property<T>,
Property.ValueChangeNotifier, Property.ValueChangeListener,
- Property.Editor, Focusable {
+ Property.Editor {
/**
* Is this field required.
*
diff --git a/compatibility-server/src/main/java/com/vaadin/v7/ui/Form.java b/compatibility-server/src/main/java/com/vaadin/v7/ui/Form.java
index d1c17d0414..8628a67400 100644
--- a/compatibility-server/src/main/java/com/vaadin/v7/ui/Form.java
+++ b/compatibility-server/src/main/java/com/vaadin/v7/ui/Form.java
@@ -86,7 +86,7 @@ import com.vaadin.v7.shared.form.FormState;
*/
@Deprecated
public class Form extends AbstractField<Object>
- implements Item.Editor, Buffered, Item, Validatable, Action.Notifier,
+ implements Item.Editor, Item, Action.Notifier,
HasComponents, LegacyComponent {
private Object propertyValue;
diff --git a/compatibility-server/src/main/java/com/vaadin/v7/ui/Grid.java b/compatibility-server/src/main/java/com/vaadin/v7/ui/Grid.java
index 7b3289f1ad..0727a719da 100644
--- a/compatibility-server/src/main/java/com/vaadin/v7/ui/Grid.java
+++ b/compatibility-server/src/main/java/com/vaadin/v7/ui/Grid.java
@@ -1131,7 +1131,7 @@ public class Grid extends AbstractComponent
* SelectionModel should extend {@link AbstractGridExtension}.
*/
@Deprecated
- public interface SelectionModel extends Serializable, Extension {
+ public interface SelectionModel extends Extension {
/**
* Interface implemented by selection models which support disabling
diff --git a/compatibility-server/src/main/java/com/vaadin/v7/ui/ProgressBar.java b/compatibility-server/src/main/java/com/vaadin/v7/ui/ProgressBar.java
index 99cdf97f04..0a9b089047 100644
--- a/compatibility-server/src/main/java/com/vaadin/v7/ui/ProgressBar.java
+++ b/compatibility-server/src/main/java/com/vaadin/v7/ui/ProgressBar.java
@@ -38,8 +38,7 @@ import com.vaadin.v7.shared.ui.progressindicator.ProgressBarState;
* the new data binding API
*/
@Deprecated
-public class ProgressBar extends AbstractField<Float>
- implements Property.Viewer, Property.ValueChangeListener {
+public class ProgressBar extends AbstractField<Float> {
private static final float DEFAULT_VALUE = 0f;
diff --git a/compatibility-server/src/main/java/com/vaadin/v7/ui/Table.java b/compatibility-server/src/main/java/com/vaadin/v7/ui/Table.java
index 52f36e9906..766c90197b 100644
--- a/compatibility-server/src/main/java/com/vaadin/v7/ui/Table.java
+++ b/compatibility-server/src/main/java/com/vaadin/v7/ui/Table.java
@@ -58,7 +58,6 @@ import com.vaadin.shared.util.SharedUtil;
import com.vaadin.ui.Component;
import com.vaadin.ui.Grid;
import com.vaadin.ui.HasChildMeasurementHint;
-import com.vaadin.ui.HasComponents;
import com.vaadin.ui.UniqueSerializable;
import com.vaadin.ui.declarative.DesignAttributeHandler;
import com.vaadin.ui.declarative.DesignContext;
@@ -108,8 +107,8 @@ import com.vaadin.v7.shared.ui.table.TableState;
@Deprecated
@SuppressWarnings({ "deprecation" })
public class Table extends AbstractSelect implements Action.Container,
- Container.Ordered, Container.Sortable, ItemClickNotifier, DragSource,
- DropTarget, HasComponents, HasChildMeasurementHint {
+ Container.Sortable, ItemClickNotifier, DragSource, DropTarget,
+ HasChildMeasurementHint {
private transient Logger logger = null;
diff --git a/compatibility-server/src/main/java/com/vaadin/v7/ui/components/calendar/CalendarComponentEvents.java b/compatibility-server/src/main/java/com/vaadin/v7/ui/components/calendar/CalendarComponentEvents.java
index f20cce2186..8f28c0cc51 100644
--- a/compatibility-server/src/main/java/com/vaadin/v7/ui/components/calendar/CalendarComponentEvents.java
+++ b/compatibility-server/src/main/java/com/vaadin/v7/ui/components/calendar/CalendarComponentEvents.java
@@ -145,7 +145,7 @@ public interface CalendarComponentEvents extends Serializable {
*/
@Deprecated
public interface RangeSelectNotifier
- extends Serializable, CalendarEventNotifier {
+ extends CalendarEventNotifier {
/**
* Set the RangeSelectHandler that listens for drag-marking.
diff --git a/compatibility-server/src/main/java/com/vaadin/v7/ui/components/colorpicker/ColorSelector.java b/compatibility-server/src/main/java/com/vaadin/v7/ui/components/colorpicker/ColorSelector.java
index 0e643bb8a8..c7e754fa01 100644
--- a/compatibility-server/src/main/java/com/vaadin/v7/ui/components/colorpicker/ColorSelector.java
+++ b/compatibility-server/src/main/java/com/vaadin/v7/ui/components/colorpicker/ColorSelector.java
@@ -15,8 +15,6 @@
*/
package com.vaadin.v7.ui.components.colorpicker;
-import java.io.Serializable;
-
import com.vaadin.v7.shared.ui.colorpicker.Color;
/**
@@ -25,7 +23,7 @@ import com.vaadin.v7.shared.ui.colorpicker.Color;
* @since 7.0.0
*/
@Deprecated
-public interface ColorSelector extends Serializable, HasColorChangeListener {
+public interface ColorSelector extends HasColorChangeListener {
/**
* Sets the color.
diff --git a/server/src/main/java/com/vaadin/data/HasItems.java b/server/src/main/java/com/vaadin/data/HasItems.java
index 92cd6a435d..16a47b9df2 100644
--- a/server/src/main/java/com/vaadin/data/HasItems.java
+++ b/server/src/main/java/com/vaadin/data/HasItems.java
@@ -15,7 +15,6 @@
*/
package com.vaadin.data;
-import java.io.Serializable;
import java.util.Arrays;
import java.util.Collection;
import java.util.stream.Collectors;
@@ -36,7 +35,7 @@ import com.vaadin.ui.Component;
* @param <T>
* the type of the displayed item
*/
-public interface HasItems<T> extends Component, Serializable {
+public interface HasItems<T> extends Component {
/**
* Returns the source of data items used by this listing.
diff --git a/server/src/main/java/com/vaadin/data/provider/DataCommunicator.java b/server/src/main/java/com/vaadin/data/provider/DataCommunicator.java
index 6fc0377a74..2819543521 100644
--- a/server/src/main/java/com/vaadin/data/provider/DataCommunicator.java
+++ b/server/src/main/java/com/vaadin/data/provider/DataCommunicator.java
@@ -15,7 +15,6 @@
*/
package com.vaadin.data.provider;
-import java.io.Serializable;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
@@ -93,7 +92,7 @@ public class DataCommunicator<T> extends AbstractExtension {
* {@link DataGenerator#destroyData(Object)} will be called for them.
*/
protected class ActiveDataHandler
- implements Serializable, DataGenerator<T> {
+ implements DataGenerator<T> {
/**
* Set of key strings for currently active data objects
diff --git a/server/src/main/java/com/vaadin/event/ActionManager.java b/server/src/main/java/com/vaadin/event/ActionManager.java
index b9e493bce6..46073fabf5 100644
--- a/server/src/main/java/com/vaadin/event/ActionManager.java
+++ b/server/src/main/java/com/vaadin/event/ActionManager.java
@@ -42,7 +42,7 @@ import com.vaadin.ui.Component;
*
*/
public class ActionManager
- implements Action.Container, Action.Handler, Action.Notifier {
+ implements Action.Handler, Action.Notifier {
private static final long serialVersionUID = 1641868163608066491L;
diff --git a/server/src/main/java/com/vaadin/event/ListenerMethod.java b/server/src/main/java/com/vaadin/event/ListenerMethod.java
index 8391303c89..49c6536da9 100644
--- a/server/src/main/java/com/vaadin/event/ListenerMethod.java
+++ b/server/src/main/java/com/vaadin/event/ListenerMethod.java
@@ -609,13 +609,11 @@ public class ListenerMethod implements EventListener, Serializable {
* @author Vaadin Ltd.
* @since 3.0
*/
- public class MethodException extends RuntimeException
- implements Serializable {
+ public class MethodException extends RuntimeException {
private MethodException(String message, Throwable cause) {
super(message, cause);
}
-
}
/**
diff --git a/server/src/main/java/com/vaadin/event/dd/acceptcriteria/ClientSideCriterion.java b/server/src/main/java/com/vaadin/event/dd/acceptcriteria/ClientSideCriterion.java
index 62c808a82c..8e3ff9e491 100644
--- a/server/src/main/java/com/vaadin/event/dd/acceptcriteria/ClientSideCriterion.java
+++ b/server/src/main/java/com/vaadin/event/dd/acceptcriteria/ClientSideCriterion.java
@@ -15,8 +15,6 @@
*/
package com.vaadin.event.dd.acceptcriteria;
-import java.io.Serializable;
-
import com.vaadin.server.PaintException;
import com.vaadin.server.PaintTarget;
@@ -33,7 +31,7 @@ import com.vaadin.server.PaintTarget;
* @since 6.3
*/
public abstract class ClientSideCriterion
- implements Serializable, AcceptCriterion {
+ implements AcceptCriterion {
/*
* All criteria that extend this must be completely validatable on client
diff --git a/server/src/main/java/com/vaadin/event/dd/acceptcriteria/ServerSideCriterion.java b/server/src/main/java/com/vaadin/event/dd/acceptcriteria/ServerSideCriterion.java
index 48a41160d2..4f93708ed4 100644
--- a/server/src/main/java/com/vaadin/event/dd/acceptcriteria/ServerSideCriterion.java
+++ b/server/src/main/java/com/vaadin/event/dd/acceptcriteria/ServerSideCriterion.java
@@ -15,8 +15,6 @@
*/
package com.vaadin.event.dd.acceptcriteria;
-import java.io.Serializable;
-
import com.vaadin.event.Transferable;
import com.vaadin.server.PaintException;
import com.vaadin.server.PaintTarget;
@@ -39,7 +37,7 @@ import com.vaadin.server.PaintTarget;
* @since 6.3
*/
public abstract class ServerSideCriterion
- implements Serializable, AcceptCriterion {
+ implements AcceptCriterion {
private static final long serialVersionUID = 2128510128911628902L;
diff --git a/server/src/main/java/com/vaadin/event/selection/SelectionEvent.java b/server/src/main/java/com/vaadin/event/selection/SelectionEvent.java
index 46f52eb734..6287abaa47 100644
--- a/server/src/main/java/com/vaadin/event/selection/SelectionEvent.java
+++ b/server/src/main/java/com/vaadin/event/selection/SelectionEvent.java
@@ -15,7 +15,6 @@
*/
package com.vaadin.event.selection;
-import java.io.Serializable;
import java.util.Optional;
import java.util.Set;
@@ -31,7 +30,7 @@ import com.vaadin.event.HasUserOriginated;
* @param <T>
* the data type of the selection model
*/
-public interface SelectionEvent<T> extends HasUserOriginated, Serializable {
+public interface SelectionEvent<T> extends HasUserOriginated {
/**
* Get first selected data item.
diff --git a/server/src/main/java/com/vaadin/server/ClassResource.java b/server/src/main/java/com/vaadin/server/ClassResource.java
index 83a9371f8f..a744bd3076 100644
--- a/server/src/main/java/com/vaadin/server/ClassResource.java
+++ b/server/src/main/java/com/vaadin/server/ClassResource.java
@@ -16,8 +16,6 @@
package com.vaadin.server;
-import java.io.Serializable;
-
import com.vaadin.ui.LegacyWindow;
import com.vaadin.ui.UI;
import com.vaadin.util.FileTypeResolver;
@@ -34,7 +32,7 @@ import com.vaadin.util.FileTypeResolver;
* @since 3.0
*/
@SuppressWarnings("serial")
-public class ClassResource implements ConnectorResource, Serializable {
+public class ClassResource implements ConnectorResource {
/**
* Default buffer size for this stream resource.
diff --git a/server/src/main/java/com/vaadin/server/CustomizedSystemMessages.java b/server/src/main/java/com/vaadin/server/CustomizedSystemMessages.java
index c8f9781f67..a087cdd3fe 100644
--- a/server/src/main/java/com/vaadin/server/CustomizedSystemMessages.java
+++ b/server/src/main/java/com/vaadin/server/CustomizedSystemMessages.java
@@ -16,8 +16,6 @@
package com.vaadin.server;
-import java.io.Serializable;
-
/**
* Contains the system messages used to notify the user about various critical
* situations that can occur.
@@ -52,8 +50,7 @@ import java.io.Serializable;
* </p>
*/
-public class CustomizedSystemMessages extends SystemMessages
- implements Serializable {
+public class CustomizedSystemMessages extends SystemMessages {
/**
* Sets the URL to go to when the session has expired.
diff --git a/server/src/main/java/com/vaadin/server/ExternalResource.java b/server/src/main/java/com/vaadin/server/ExternalResource.java
index 25e8b97acb..b4ec4615d1 100644
--- a/server/src/main/java/com/vaadin/server/ExternalResource.java
+++ b/server/src/main/java/com/vaadin/server/ExternalResource.java
@@ -16,7 +16,6 @@
package com.vaadin.server;
-import java.io.Serializable;
import java.net.URL;
import com.vaadin.util.FileTypeResolver;
@@ -30,7 +29,7 @@ import com.vaadin.util.FileTypeResolver;
* @since 3.0
*/
@SuppressWarnings("serial")
-public class ExternalResource implements Resource, Serializable {
+public class ExternalResource implements Resource {
/**
* Url of the download.
diff --git a/server/src/main/java/com/vaadin/server/JsonPaintTarget.java b/server/src/main/java/com/vaadin/server/JsonPaintTarget.java
index 4cfb389851..8b45c64b2d 100644
--- a/server/src/main/java/com/vaadin/server/JsonPaintTarget.java
+++ b/server/src/main/java/com/vaadin/server/JsonPaintTarget.java
@@ -867,7 +867,7 @@ public class JsonPaintTarget implements PaintTarget {
public abstract String getJsonPresentation();
}
- class BooleanVariable extends Variable implements Serializable {
+ class BooleanVariable extends Variable {
boolean value;
public BooleanVariable(VariableOwner owner, String name, boolean v) {
@@ -882,7 +882,7 @@ public class JsonPaintTarget implements PaintTarget {
}
- class StringVariable extends Variable implements Serializable {
+ class StringVariable extends Variable {
String value;
public StringVariable(VariableOwner owner, String name, String v) {
@@ -897,7 +897,7 @@ public class JsonPaintTarget implements PaintTarget {
}
- class IntVariable extends Variable implements Serializable {
+ class IntVariable extends Variable {
int value;
public IntVariable(VariableOwner owner, String name, int v) {
@@ -911,7 +911,7 @@ public class JsonPaintTarget implements PaintTarget {
}
}
- class LongVariable extends Variable implements Serializable {
+ class LongVariable extends Variable {
long value;
public LongVariable(VariableOwner owner, String name, long v) {
@@ -925,7 +925,7 @@ public class JsonPaintTarget implements PaintTarget {
}
}
- class FloatVariable extends Variable implements Serializable {
+ class FloatVariable extends Variable {
float value;
public FloatVariable(VariableOwner owner, String name, float v) {
@@ -939,7 +939,7 @@ public class JsonPaintTarget implements PaintTarget {
}
}
- class DoubleVariable extends Variable implements Serializable {
+ class DoubleVariable extends Variable {
double value;
public DoubleVariable(VariableOwner owner, String name, double v) {
@@ -953,7 +953,7 @@ public class JsonPaintTarget implements PaintTarget {
}
}
- class ArrayVariable extends Variable implements Serializable {
+ class ArrayVariable extends Variable {
String[] value;
public ArrayVariable(VariableOwner owner, String name, String[] v) {
diff --git a/server/src/main/java/com/vaadin/server/KeyMapper.java b/server/src/main/java/com/vaadin/server/KeyMapper.java
index e6a3e1ae7f..bd6f37f3af 100644
--- a/server/src/main/java/com/vaadin/server/KeyMapper.java
+++ b/server/src/main/java/com/vaadin/server/KeyMapper.java
@@ -16,7 +16,6 @@
package com.vaadin.server;
-import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;
@@ -30,7 +29,7 @@ import com.vaadin.data.provider.DataKeyMapper;
* @author Vaadin Ltd.
* @since 3.0
*/
-public class KeyMapper<V> implements DataKeyMapper<V>, Serializable {
+public class KeyMapper<V> implements DataKeyMapper<V> {
private int lastKey = 0;
diff --git a/server/src/main/java/com/vaadin/server/PaintException.java b/server/src/main/java/com/vaadin/server/PaintException.java
index 82a35ed274..07fca05ac3 100644
--- a/server/src/main/java/com/vaadin/server/PaintException.java
+++ b/server/src/main/java/com/vaadin/server/PaintException.java
@@ -17,7 +17,6 @@
package com.vaadin.server;
import java.io.IOException;
-import java.io.Serializable;
/**
* <code>PaintExcepection</code> is thrown if painting of a component fails.
@@ -26,7 +25,7 @@ import java.io.Serializable;
* @since 3.0
*/
@SuppressWarnings("serial")
-public class PaintException extends IOException implements Serializable {
+public class PaintException extends IOException {
/**
* Constructs an instance of <code>PaintExeception</code> with the specified
diff --git a/server/src/main/java/com/vaadin/server/UIProviderEvent.java b/server/src/main/java/com/vaadin/server/UIProviderEvent.java
index 56b5bb55d0..411e5ab5df 100644
--- a/server/src/main/java/com/vaadin/server/UIProviderEvent.java
+++ b/server/src/main/java/com/vaadin/server/UIProviderEvent.java
@@ -16,7 +16,6 @@
package com.vaadin.server;
-import java.io.Serializable;
import java.util.EventObject;
/**
@@ -27,7 +26,7 @@ import java.util.EventObject;
* @author Vaadin Ltd
* @since 7.0.0
*/
-public class UIProviderEvent extends EventObject implements Serializable {
+public class UIProviderEvent extends EventObject {
private final VaadinRequest request;
diff --git a/server/src/main/java/com/vaadin/server/communication/PushRequestHandler.java b/server/src/main/java/com/vaadin/server/communication/PushRequestHandler.java
index 79ba80d7fe..71f8809e4c 100644
--- a/server/src/main/java/com/vaadin/server/communication/PushRequestHandler.java
+++ b/server/src/main/java/com/vaadin/server/communication/PushRequestHandler.java
@@ -35,7 +35,6 @@ import org.atmosphere.cpr.AtmosphereResponseImpl;
import org.atmosphere.interceptor.HeartbeatInterceptor;
import org.atmosphere.util.VoidAnnotationProcessor;
-import com.vaadin.server.RequestHandler;
import com.vaadin.server.ServiceException;
import com.vaadin.server.ServletPortletHelper;
import com.vaadin.server.SessionExpiredHandler;
@@ -57,7 +56,7 @@ import com.vaadin.shared.communication.PushConstants;
* @since 7.1
*/
public class PushRequestHandler
- implements RequestHandler, SessionExpiredHandler {
+ implements SessionExpiredHandler {
private AtmosphereFramework atmosphere;
private PushHandler pushHandler;
diff --git a/server/src/main/java/com/vaadin/ui/ComboBox.java b/server/src/main/java/com/vaadin/ui/ComboBox.java
index c6765dde1a..9fa93b66ac 100644
--- a/server/src/main/java/com/vaadin/ui/ComboBox.java
+++ b/server/src/main/java/com/vaadin/ui/ComboBox.java
@@ -69,7 +69,7 @@ import elemental.json.JsonObject;
*/
@SuppressWarnings("serial")
public class ComboBox<T> extends AbstractSingleSelect<T>
- implements HasValue<T>, FieldEvents.BlurNotifier,
+ implements FieldEvents.BlurNotifier,
FieldEvents.FocusNotifier, HasFilterableDataProvider<T, String> {
/**
diff --git a/server/src/main/java/com/vaadin/ui/Component.java b/server/src/main/java/com/vaadin/ui/Component.java
index 955f5f068c..039c25e288 100644
--- a/server/src/main/java/com/vaadin/ui/Component.java
+++ b/server/src/main/java/com/vaadin/ui/Component.java
@@ -16,7 +16,6 @@
package com.vaadin.ui;
-import java.io.Serializable;
import java.util.Locale;
import org.jsoup.nodes.Element;
@@ -63,7 +62,7 @@ import com.vaadin.ui.declarative.DesignContext;
* @author Vaadin Ltd.
* @since 3.0
*/
-public interface Component extends ClientConnector, Sizeable, Serializable {
+public interface Component extends ClientConnector, Sizeable {
/**
* Gets all user-defined CSS style names of a component. If the component
diff --git a/server/src/main/java/com/vaadin/ui/Layout.java b/server/src/main/java/com/vaadin/ui/Layout.java
index 670bdebe62..64e31333a3 100644
--- a/server/src/main/java/com/vaadin/ui/Layout.java
+++ b/server/src/main/java/com/vaadin/ui/Layout.java
@@ -29,7 +29,7 @@ import com.vaadin.shared.ui.MarginInfo;
* @author Vaadin Ltd.
* @since 3.0
*/
-public interface Layout extends ComponentContainer, Serializable {
+public interface Layout extends ComponentContainer {
/**
* AlignmentHandler is most commonly an advanced {@link Layout} that can
diff --git a/server/src/main/java/com/vaadin/ui/MultiSelect.java b/server/src/main/java/com/vaadin/ui/MultiSelect.java
index 3c56a22da1..8b0dbb9629 100644
--- a/server/src/main/java/com/vaadin/ui/MultiSelect.java
+++ b/server/src/main/java/com/vaadin/ui/MultiSelect.java
@@ -15,7 +15,6 @@
*/
package com.vaadin.ui;
-import java.io.Serializable;
import java.util.Arrays;
import java.util.Collections;
import java.util.LinkedHashSet;
@@ -38,7 +37,7 @@ import com.vaadin.shared.Registration;
* @since 8.0
*
*/
-public interface MultiSelect<T> extends HasValue<Set<T>>, Serializable {
+public interface MultiSelect<T> extends HasValue<Set<T>> {
/**
* Adds the given items to the set of currently selected items.
@@ -143,6 +142,7 @@ public interface MultiSelect<T> extends HasValue<Set<T>>, Serializable {
*
* @return An empty set, not {@code null}
*/
+ @Override
public default Set<T> getEmptyValue() {
return Collections.emptySet();
}
diff --git a/server/src/main/java/com/vaadin/ui/Notification.java b/server/src/main/java/com/vaadin/ui/Notification.java
index b8ee3a4caf..6171c53562 100644
--- a/server/src/main/java/com/vaadin/ui/Notification.java
+++ b/server/src/main/java/com/vaadin/ui/Notification.java
@@ -67,7 +67,7 @@ import com.vaadin.shared.ui.notification.NotificationState;
* </p>
*
*/
-public class Notification extends AbstractExtension implements Serializable {
+public class Notification extends AbstractExtension {
/**
* The server RPC.
diff --git a/server/src/main/java/com/vaadin/ui/UI.java b/server/src/main/java/com/vaadin/ui/UI.java
index ee303327bd..13adb68817 100644
--- a/server/src/main/java/com/vaadin/ui/UI.java
+++ b/server/src/main/java/com/vaadin/ui/UI.java
@@ -121,7 +121,7 @@ import com.vaadin.util.ReflectTools;
* @since 7.0
*/
public abstract class UI extends AbstractSingleComponentContainer
- implements Action.Container, Action.Notifier, PollNotifier,
+ implements Action.Notifier, PollNotifier,
LegacyComponent, Focusable {
/**
diff --git a/server/src/main/java/com/vaadin/ui/Window.java b/server/src/main/java/com/vaadin/ui/Window.java
index ee46c16f49..27172a08ba 100644
--- a/server/src/main/java/com/vaadin/ui/Window.java
+++ b/server/src/main/java/com/vaadin/ui/Window.java
@@ -80,7 +80,7 @@ import com.vaadin.util.ReflectTools;
*/
@SuppressWarnings({ "serial", "deprecation" })
public class Window extends Panel
- implements FocusNotifier, BlurNotifier, LegacyComponent {
+ implements FocusNotifier, BlurNotifier {
private WindowServerRpc rpc = new WindowServerRpc() {
diff --git a/shared/src/main/java/com/vaadin/shared/data/sort/SortDirection.java b/shared/src/main/java/com/vaadin/shared/data/sort/SortDirection.java
index cae9e6cddc..e7b3226d5f 100644
--- a/shared/src/main/java/com/vaadin/shared/data/sort/SortDirection.java
+++ b/shared/src/main/java/com/vaadin/shared/data/sort/SortDirection.java
@@ -15,15 +15,13 @@
*/
package com.vaadin.shared.data.sort;
-import java.io.Serializable;
-
/**
* Describes sorting direction.
*
* @since 7.4
* @author Vaadin Ltd
*/
-public enum SortDirection implements Serializable {
+public enum SortDirection {
/**
* Ascending (e.g. A-Z, 1..9) sort order
diff --git a/shared/src/main/java/com/vaadin/shared/ui/absolutelayout/AbsoluteLayoutServerRpc.java b/shared/src/main/java/com/vaadin/shared/ui/absolutelayout/AbsoluteLayoutServerRpc.java
index d98cd6b7f1..781793ba3d 100644
--- a/shared/src/main/java/com/vaadin/shared/ui/absolutelayout/AbsoluteLayoutServerRpc.java
+++ b/shared/src/main/java/com/vaadin/shared/ui/absolutelayout/AbsoluteLayoutServerRpc.java
@@ -15,9 +15,8 @@
*/
package com.vaadin.shared.ui.absolutelayout;
-import com.vaadin.shared.communication.ServerRpc;
import com.vaadin.shared.ui.LayoutClickRpc;
-public interface AbsoluteLayoutServerRpc extends LayoutClickRpc, ServerRpc {
+public interface AbsoluteLayoutServerRpc extends LayoutClickRpc {
}
diff --git a/shared/src/main/java/com/vaadin/shared/ui/csslayout/CssLayoutServerRpc.java b/shared/src/main/java/com/vaadin/shared/ui/csslayout/CssLayoutServerRpc.java
index 1271194c63..6d3a0e54a8 100644
--- a/shared/src/main/java/com/vaadin/shared/ui/csslayout/CssLayoutServerRpc.java
+++ b/shared/src/main/java/com/vaadin/shared/ui/csslayout/CssLayoutServerRpc.java
@@ -15,9 +15,8 @@
*/
package com.vaadin.shared.ui.csslayout;
-import com.vaadin.shared.communication.ServerRpc;
import com.vaadin.shared.ui.LayoutClickRpc;
-public interface CssLayoutServerRpc extends LayoutClickRpc, ServerRpc {
+public interface CssLayoutServerRpc extends LayoutClickRpc {
}
diff --git a/shared/src/main/java/com/vaadin/shared/ui/embedded/EmbeddedServerRpc.java b/shared/src/main/java/com/vaadin/shared/ui/embedded/EmbeddedServerRpc.java
index e0a5758c7a..bfa0f42bd6 100644
--- a/shared/src/main/java/com/vaadin/shared/ui/embedded/EmbeddedServerRpc.java
+++ b/shared/src/main/java/com/vaadin/shared/ui/embedded/EmbeddedServerRpc.java
@@ -15,8 +15,7 @@
*/
package com.vaadin.shared.ui.embedded;
-import com.vaadin.shared.communication.ServerRpc;
import com.vaadin.shared.ui.ClickRpc;
-public interface EmbeddedServerRpc extends ClickRpc, ServerRpc {
+public interface EmbeddedServerRpc extends ClickRpc {
}
diff --git a/shared/src/main/java/com/vaadin/shared/ui/gridlayout/GridLayoutServerRpc.java b/shared/src/main/java/com/vaadin/shared/ui/gridlayout/GridLayoutServerRpc.java
index 5c0b9eff75..04a24d827f 100644
--- a/shared/src/main/java/com/vaadin/shared/ui/gridlayout/GridLayoutServerRpc.java
+++ b/shared/src/main/java/com/vaadin/shared/ui/gridlayout/GridLayoutServerRpc.java
@@ -15,9 +15,8 @@
*/
package com.vaadin.shared.ui.gridlayout;
-import com.vaadin.shared.communication.ServerRpc;
import com.vaadin.shared.ui.LayoutClickRpc;
-public interface GridLayoutServerRpc extends LayoutClickRpc, ServerRpc {
+public interface GridLayoutServerRpc extends LayoutClickRpc {
}
diff --git a/shared/src/main/java/com/vaadin/shared/ui/image/ImageServerRpc.java b/shared/src/main/java/com/vaadin/shared/ui/image/ImageServerRpc.java
index d9e65bae23..97431abaa4 100644
--- a/shared/src/main/java/com/vaadin/shared/ui/image/ImageServerRpc.java
+++ b/shared/src/main/java/com/vaadin/shared/ui/image/ImageServerRpc.java
@@ -15,9 +15,8 @@
*/
package com.vaadin.shared.ui.image;
-import com.vaadin.shared.communication.ServerRpc;
import com.vaadin.shared.ui.ClickRpc;
-public interface ImageServerRpc extends ClickRpc, ServerRpc {
+public interface ImageServerRpc extends ClickRpc {
}
diff --git a/shared/src/main/java/com/vaadin/shared/ui/orderedlayout/AbstractOrderedLayoutServerRpc.java b/shared/src/main/java/com/vaadin/shared/ui/orderedlayout/AbstractOrderedLayoutServerRpc.java
index 87421964af..0290212815 100644
--- a/shared/src/main/java/com/vaadin/shared/ui/orderedlayout/AbstractOrderedLayoutServerRpc.java
+++ b/shared/src/main/java/com/vaadin/shared/ui/orderedlayout/AbstractOrderedLayoutServerRpc.java
@@ -15,10 +15,9 @@
*/
package com.vaadin.shared.ui.orderedlayout;
-import com.vaadin.shared.communication.ServerRpc;
import com.vaadin.shared.ui.LayoutClickRpc;
public interface AbstractOrderedLayoutServerRpc
- extends LayoutClickRpc, ServerRpc {
+ extends LayoutClickRpc {
}
diff --git a/shared/src/main/java/com/vaadin/shared/ui/panel/PanelServerRpc.java b/shared/src/main/java/com/vaadin/shared/ui/panel/PanelServerRpc.java
index c38925c082..ce19c921fb 100644
--- a/shared/src/main/java/com/vaadin/shared/ui/panel/PanelServerRpc.java
+++ b/shared/src/main/java/com/vaadin/shared/ui/panel/PanelServerRpc.java
@@ -15,9 +15,8 @@
*/
package com.vaadin.shared.ui.panel;
-import com.vaadin.shared.communication.ServerRpc;
import com.vaadin.shared.ui.ClickRpc;
-public interface PanelServerRpc extends ClickRpc, ServerRpc {
+public interface PanelServerRpc extends ClickRpc {
}
diff --git a/shared/src/main/java/com/vaadin/shared/ui/ui/UIServerRpc.java b/shared/src/main/java/com/vaadin/shared/ui/ui/UIServerRpc.java
index f77bb4cf95..778a80b79f 100644
--- a/shared/src/main/java/com/vaadin/shared/ui/ui/UIServerRpc.java
+++ b/shared/src/main/java/com/vaadin/shared/ui/ui/UIServerRpc.java
@@ -17,10 +17,9 @@ package com.vaadin.shared.ui.ui;
import com.vaadin.shared.annotations.Delayed;
import com.vaadin.shared.annotations.NoLoadingIndicator;
-import com.vaadin.shared.communication.ServerRpc;
import com.vaadin.shared.ui.ClickRpc;
-public interface UIServerRpc extends ClickRpc, ServerRpc {
+public interface UIServerRpc extends ClickRpc {
@Delayed(lastOnly = true)
public void resize(int viewWidth, int viewHeight, int windowWidth,
int windowHeight);
diff --git a/shared/src/main/java/com/vaadin/shared/ui/window/WindowServerRpc.java b/shared/src/main/java/com/vaadin/shared/ui/window/WindowServerRpc.java
index f13bb6214c..e342ab2ca6 100644
--- a/shared/src/main/java/com/vaadin/shared/ui/window/WindowServerRpc.java
+++ b/shared/src/main/java/com/vaadin/shared/ui/window/WindowServerRpc.java
@@ -15,10 +15,9 @@
*/
package com.vaadin.shared.ui.window;
-import com.vaadin.shared.communication.ServerRpc;
import com.vaadin.shared.ui.ClickRpc;
-public interface WindowServerRpc extends ClickRpc, ServerRpc {
+public interface WindowServerRpc extends ClickRpc {
public void windowModeChanged(WindowMode newState);
diff --git a/uitest/src/main/java/com/vaadin/tests/components/button/Buttons3.java b/uitest/src/main/java/com/vaadin/tests/components/button/Buttons3.java
index 12e4ef9a4b..8463daf7fe 100644
--- a/uitest/src/main/java/com/vaadin/tests/components/button/Buttons3.java
+++ b/uitest/src/main/java/com/vaadin/tests/components/button/Buttons3.java
@@ -2,10 +2,8 @@ package com.vaadin.tests.components.button;
import com.vaadin.ui.Button;
import com.vaadin.ui.Button.ClickEvent;
-import com.vaadin.ui.Button.ClickListener;
-public class Buttons3<T extends Button> extends Buttons2<T>
- implements ClickListener {
+public class Buttons3<T extends Button> extends Buttons2<T> {
@Override
public void buttonClick(ClickEvent event) {
diff --git a/uitest/src/main/java/com/vaadin/tests/components/table/ExpandingContainer.java b/uitest/src/main/java/com/vaadin/tests/components/table/ExpandingContainer.java
index 35a7f4d446..9d01660b46 100644
--- a/uitest/src/main/java/com/vaadin/tests/components/table/ExpandingContainer.java
+++ b/uitest/src/main/java/com/vaadin/tests/components/table/ExpandingContainer.java
@@ -17,7 +17,7 @@ import com.vaadin.v7.data.util.BeanItem;
@SuppressWarnings("serial")
public class ExpandingContainer extends AbstractContainer implements
- Container.Ordered, Container.Indexed, Container.ItemSetChangeNotifier {
+ Container.Indexed, Container.ItemSetChangeNotifier {
public static final List<String> PROPERTY_IDS = Arrays.asList("id",
"column1", "column2");
diff --git a/uitest/src/main/java/com/vaadin/tests/components/table/Tables.java b/uitest/src/main/java/com/vaadin/tests/components/table/Tables.java
index f435de5a27..3f7b2837a1 100644
--- a/uitest/src/main/java/com/vaadin/tests/components/table/Tables.java
+++ b/uitest/src/main/java/com/vaadin/tests/components/table/Tables.java
@@ -13,7 +13,6 @@ import com.vaadin.shared.ui.MultiSelectMode;
import com.vaadin.tests.components.select.AbstractSelectTestCase;
import com.vaadin.ui.Button;
import com.vaadin.ui.Label;
-import com.vaadin.v7.event.ItemClickEvent.ItemClickListener;
import com.vaadin.v7.shared.ui.table.CollapseMenuContent;
import com.vaadin.v7.shared.ui.table.TableConstants;
import com.vaadin.v7.ui.Table;
@@ -32,7 +31,7 @@ import com.vaadin.v7.ui.Table.RowGenerator;
import com.vaadin.v7.ui.Table.RowHeaderMode;
public class Tables<T extends Table> extends AbstractSelectTestCase<T>
- implements ItemClickListener, HeaderClickListener, FooterClickListener,
+ implements HeaderClickListener, FooterClickListener,
ColumnResizeListener {
protected static final String CATEGORY_ROWS = "Rows";
diff --git a/uitest/src/main/java/com/vaadin/tests/dd/CustomDDImplementation.java b/uitest/src/main/java/com/vaadin/tests/dd/CustomDDImplementation.java
index ad5d391385..e02492d508 100644
--- a/uitest/src/main/java/com/vaadin/tests/dd/CustomDDImplementation.java
+++ b/uitest/src/main/java/com/vaadin/tests/dd/CustomDDImplementation.java
@@ -9,7 +9,6 @@ import com.vaadin.event.dd.TargetDetails;
import com.vaadin.event.dd.acceptcriteria.AcceptAll;
import com.vaadin.event.dd.acceptcriteria.AcceptCriterion;
import com.vaadin.ui.AbstractComponent;
-import com.vaadin.ui.Component;
import com.vaadin.ui.CssLayout;
import com.vaadin.ui.CustomComponent;
import com.vaadin.ui.Layout;
@@ -78,7 +77,7 @@ public class CustomDDImplementation extends CustomComponent {
* operations that are controlled via server side api.
*
*/
- public class MyDragSource extends AbstractComponent implements Component {
+ public class MyDragSource extends AbstractComponent {
}
diff --git a/uitest/src/main/java/com/vaadin/tests/minitutorials/v7b9/SecretView.java b/uitest/src/main/java/com/vaadin/tests/minitutorials/v7b9/SecretView.java
index 21fb479bc0..d91a1e4e5b 100644
--- a/uitest/src/main/java/com/vaadin/tests/minitutorials/v7b9/SecretView.java
+++ b/uitest/src/main/java/com/vaadin/tests/minitutorials/v7b9/SecretView.java
@@ -1,10 +1,9 @@
package com.vaadin.tests.minitutorials.v7b9;
-import com.vaadin.navigator.View;
import com.vaadin.ui.Label;
import com.vaadin.ui.Layout;
-public class SecretView extends MessageView implements View {
+public class SecretView extends MessageView {
public static final String NAME = "secret";
public SecretView() {
diff --git a/uitest/src/main/java/com/vaadin/tests/util/PersonContainer.java b/uitest/src/main/java/com/vaadin/tests/util/PersonContainer.java
index 2ac37a07f7..621248b8a1 100644
--- a/uitest/src/main/java/com/vaadin/tests/util/PersonContainer.java
+++ b/uitest/src/main/java/com/vaadin/tests/util/PersonContainer.java
@@ -1,6 +1,5 @@
package com.vaadin.tests.util;
-import java.io.Serializable;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
@@ -10,8 +9,7 @@ import java.util.Random;
import com.vaadin.v7.data.util.BeanItemContainer;
@SuppressWarnings("serial")
-public class PersonContainer extends BeanItemContainer<Person>
- implements Serializable {
+public class PersonContainer extends BeanItemContainer<Person> {
/**
* Natural property order for Person bean. Used in tables and forms.
diff --git a/uitest/src/main/java/com/vaadin/tests/util/ResizeTerrorizer.java b/uitest/src/main/java/com/vaadin/tests/util/ResizeTerrorizer.java
index 1a41e6740e..ef810e30ff 100644
--- a/uitest/src/main/java/com/vaadin/tests/util/ResizeTerrorizer.java
+++ b/uitest/src/main/java/com/vaadin/tests/util/ResizeTerrorizer.java
@@ -23,8 +23,7 @@ import com.vaadin.ui.VerticalLayout;
public class ResizeTerrorizer extends VerticalLayout {
private final ResizeTerrorizerControl control;
- public class ResizeTerrorizerControl extends AbstractComponent
- implements Component {
+ public class ResizeTerrorizerControl extends AbstractComponent {
public ResizeTerrorizerControl(Component target) {
getState().target = target;
diff --git a/uitest/src/main/java/com/vaadin/v7/tests/components/passwordfield/PasswordFieldTest.java b/uitest/src/main/java/com/vaadin/v7/tests/components/passwordfield/PasswordFieldTest.java
index 7561b8b371..6e767b6a3e 100644
--- a/uitest/src/main/java/com/vaadin/v7/tests/components/passwordfield/PasswordFieldTest.java
+++ b/uitest/src/main/java/com/vaadin/v7/tests/components/passwordfield/PasswordFieldTest.java
@@ -1,11 +1,9 @@
package com.vaadin.v7.tests.components.passwordfield;
-import com.vaadin.v7.event.FieldEvents.TextChangeListener;
import com.vaadin.v7.tests.components.textfield.AbstractTextFieldTest;
import com.vaadin.v7.ui.PasswordField;
-public class PasswordFieldTest extends AbstractTextFieldTest<PasswordField>
- implements TextChangeListener {
+public class PasswordFieldTest extends AbstractTextFieldTest<PasswordField> {
@Override
protected Class<PasswordField> getTestClass() {
diff --git a/uitest/src/main/java/com/vaadin/v7/tests/components/textfield/TextFieldTest.java b/uitest/src/main/java/com/vaadin/v7/tests/components/textfield/TextFieldTest.java
index fd26995abf..182a4040f4 100644
--- a/uitest/src/main/java/com/vaadin/v7/tests/components/textfield/TextFieldTest.java
+++ b/uitest/src/main/java/com/vaadin/v7/tests/components/textfield/TextFieldTest.java
@@ -1,10 +1,8 @@
package com.vaadin.v7.tests.components.textfield;
-import com.vaadin.v7.event.FieldEvents.TextChangeListener;
import com.vaadin.v7.ui.TextField;
-public class TextFieldTest extends AbstractTextFieldTest<TextField>
- implements TextChangeListener {
+public class TextFieldTest extends AbstractTextFieldTest<TextField> {
@Override
protected Class<TextField> getTestClass() {