diff options
author | Ahmed Ashour <asashour@yahoo.com> | 2017-10-31 11:23:36 +0100 |
---|---|---|
committer | Pekka Maanpää <pekkamaa@vaadin.com> | 2017-10-31 12:23:36 +0200 |
commit | 3564d4b4ba7c9ff718879d7544aa2e309489c531 (patch) | |
tree | 313948274b1a12739be40e4bd19edc31547c384f /shared | |
parent | ffe1e0c022c2098a0b719bffe0c9a707003bde05 (diff) | |
download | vaadin-framework-3564d4b4ba7c9ff718879d7544aa2e309489c531.tar.gz vaadin-framework-3564d4b4ba7c9ff718879d7544aa2e309489c531.zip |
Remove redundant interface already implemented by super class. (#10258)
Diffstat (limited to 'shared')
10 files changed, 10 insertions, 21 deletions
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); |