diff options
author | Denis <denis@vaadin.com> | 2016-12-07 17:16:45 +0200 |
---|---|---|
committer | Pekka Hyvönen <pekka@vaadin.com> | 2016-12-07 17:16:45 +0200 |
commit | 414de3c4b2ea5267808980bd23a9e56aa865e96b (patch) | |
tree | 8b6f3be67920a852fa3142ee2257846bedcc2811 /uitest | |
parent | 5778c65bdef65337f8cbcc9d0504abbd11f8278f (diff) | |
download | vaadin-framework-414de3c4b2ea5267808980bd23a9e56aa865e96b.tar.gz vaadin-framework-414de3c4b2ea5267808980bd23a9e56aa865e96b.zip |
Implement "afterViewChange()" as no-op by default. (#99)
* Implement "afterViewChange()" as no-op by default.
ViewChangeListener is functional interface now and has empty
implementation for "afterViewChange()"
Fixes vaadin/framework8-issues#502
Diffstat (limited to 'uitest')
-rw-r--r-- | uitest/src/main/java/com/vaadin/tests/minitutorials/v70/SimpleLoginUI.java | 4 | ||||
-rw-r--r-- | uitest/src/main/java/com/vaadin/tests/navigator/NavigatorTest.java | 5 |
2 files changed, 1 insertions, 8 deletions
diff --git a/uitest/src/main/java/com/vaadin/tests/minitutorials/v70/SimpleLoginUI.java b/uitest/src/main/java/com/vaadin/tests/minitutorials/v70/SimpleLoginUI.java index 2d1c6bb687..f2f9c1b657 100644 --- a/uitest/src/main/java/com/vaadin/tests/minitutorials/v70/SimpleLoginUI.java +++ b/uitest/src/main/java/com/vaadin/tests/minitutorials/v70/SimpleLoginUI.java @@ -56,10 +56,6 @@ public class SimpleLoginUI extends UI { return true; } - @Override - public void afterViewChange(ViewChangeEvent event) { - - } }); } } diff --git a/uitest/src/main/java/com/vaadin/tests/navigator/NavigatorTest.java b/uitest/src/main/java/com/vaadin/tests/navigator/NavigatorTest.java index 392a3f3854..e726580cff 100644 --- a/uitest/src/main/java/com/vaadin/tests/navigator/NavigatorTest.java +++ b/uitest/src/main/java/com/vaadin/tests/navigator/NavigatorTest.java @@ -13,10 +13,10 @@ import com.vaadin.tests.util.Log; import com.vaadin.ui.Button; import com.vaadin.ui.Label; import com.vaadin.ui.Layout; +import com.vaadin.ui.RichTextArea; import com.vaadin.ui.TextField; import com.vaadin.ui.UI; import com.vaadin.ui.VerticalLayout; -import com.vaadin.ui.RichTextArea; import com.vaadin.v7.ui.Table; public class NavigatorTest extends UI { @@ -107,9 +107,6 @@ public class NavigatorTest extends UI { return true; } - @Override - public void afterViewChange(ViewChangeEvent event) { - } } class NaviButton extends Button { |