diff options
Diffstat (limited to 'server/src/com/vaadin/ui/UI.java')
-rw-r--r-- | server/src/com/vaadin/ui/UI.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/server/src/com/vaadin/ui/UI.java b/server/src/com/vaadin/ui/UI.java index b15a83cdce..0d83f8258d 100644 --- a/server/src/com/vaadin/ui/UI.java +++ b/server/src/com/vaadin/ui/UI.java @@ -1123,11 +1123,11 @@ public abstract class UI extends AbstractComponentContainer implements } /** - * Adds a close listener to the UI. Close listeners are invoked when the UI - * is removed from the session due to UI or session expiration. + * Adds a cleanup listener to the UI. Cleanup listeners are invoked when the + * UI is removed from the session due to UI or session expiration. * * @param listener - * The CloseListener that should be added. + * The CleanupListener that should be added. */ public void addCleanupListener(CleanupListener listener) { addListener(CleanupEvent.CLEANUP_EVENT_IDENTIFIER, CleanupEvent.class, @@ -1156,11 +1156,11 @@ public abstract class UI extends AbstractComponentContainer implements } /** - * Removes a close listener from the UI, if previously added with + * Removes a cleanup listener from the UI, if previously added with * {@link #addCleanupListener(CleanupListener)}. * * @param listener - * The CloseListener that should be removed + * The CleanupListener that should be removed */ public void removeCleanupListener(CleanupListener listener) { removeListener(CleanupEvent.CLEANUP_EVENT_IDENTIFIER, |