summaryrefslogtreecommitdiffstats
path: root/compatibility-server
diff options
context:
space:
mode:
authorAhmed Ashour <asashour@yahoo.com>2017-10-31 11:23:36 +0100
committerPekka Maanpää <pekkamaa@vaadin.com>2017-10-31 12:23:36 +0200
commit3564d4b4ba7c9ff718879d7544aa2e309489c531 (patch)
tree313948274b1a12739be40e4bd19edc31547c384f /compatibility-server
parentffe1e0c022c2098a0b719bffe0c9a707003bde05 (diff)
downloadvaadin-framework-3564d4b4ba7c9ff718879d7544aa2e309489c531.tar.gz
vaadin-framework-3564d4b4ba7c9ff718879d7544aa2e309489c531.zip
Remove redundant interface already implemented by super class. (#10258)
Diffstat (limited to 'compatibility-server')
-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
22 files changed, 34 insertions, 48 deletions
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.