summaryrefslogtreecommitdiffstats
path: root/server/src/com/vaadin
diff options
context:
space:
mode:
authorJohannes Dahlström <johannesd@vaadin.com>2012-08-31 16:22:13 +0300
committerJohannes Dahlström <johannesd@vaadin.com>2012-09-03 11:46:36 +0300
commit54190550f969edc47901ba9a32239707231703f1 (patch)
tree1c2ef64e23cebaa9bb6eca15020fa8fba305f1e6 /server/src/com/vaadin
parent456f2c782658650ad2934b4ab614a971bad1634c (diff)
downloadvaadin-framework-54190550f969edc47901ba9a32239707231703f1.tar.gz
vaadin-framework-54190550f969edc47901ba9a32239707231703f1.zip
addListener rename in Navigator (#9285)
Diffstat (limited to 'server/src/com/vaadin')
-rw-r--r--server/src/com/vaadin/navigator/Navigator.java21
1 files changed, 1 insertions, 20 deletions
diff --git a/server/src/com/vaadin/navigator/Navigator.java b/server/src/com/vaadin/navigator/Navigator.java
index e2e40ea732..2f42acb320 100644
--- a/server/src/com/vaadin/navigator/Navigator.java
+++ b/server/src/com/vaadin/navigator/Navigator.java
@@ -103,7 +103,7 @@ public class Navigator implements Serializable {
this.page = page;
this.navigator = navigator;
- page.addListener(this);
+ page.addFragmentChangedListener(this);
}
@Override
@@ -667,15 +667,6 @@ public class Navigator implements Serializable {
}
/**
- * @deprecated Since 7.0, replaced by
- * {@link #addViewChangeListener(ViewChangeListener)}
- **/
- @Deprecated
- public void addListener(ViewChangeListener listener) {
- addViewChangeListener(listener);
- }
-
- /**
* Remove a view change listener.
*
* @param listener
@@ -684,14 +675,4 @@ public class Navigator implements Serializable {
public void removeViewChangeListener(ViewChangeListener listener) {
listeners.remove(listener);
}
-
- /**
- * @deprecated Since 7.0, replaced by
- * {@link #removeViewChangeListener(ViewChangeListener)}
- **/
- @Deprecated
- public void removeListener(ViewChangeListener listener) {
- removeViewChangeListener(listener);
- }
-
}