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 /uitest/src | |
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 'uitest/src')
9 files changed, 9 insertions, 21 deletions
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() { |