diff options
author | Leif Åstrand <leif@vaadin.com> | 2013-05-29 12:36:46 +0300 |
---|---|---|
committer | Leif Åstrand <leif@vaadin.com> | 2013-05-29 12:36:46 +0300 |
commit | a744d21c632f70534307c17e8a58499fa2ca9237 (patch) | |
tree | 2eb086be958b54184fbc8f07b0ed31058dbf5865 /server | |
parent | 35f353274f2132086f8ee0bb6e6e73712a59b173 (diff) | |
download | vaadin-framework-a744d21c632f70534307c17e8a58499fa2ca9237.tar.gz vaadin-framework-a744d21c632f70534307c17e8a58499fa2ca9237.zip |
Remove UI.runSafely and VaadinSession.runSafely (#11901)
Change-Id: Ie72e1a3ab72be00c99548a740f16721fb7edab00
Diffstat (limited to 'server')
-rw-r--r-- | server/src/com/vaadin/server/VaadinSession.java | 12 | ||||
-rw-r--r-- | server/src/com/vaadin/ui/UI.java | 10 |
2 files changed, 1 insertions, 21 deletions
diff --git a/server/src/com/vaadin/server/VaadinSession.java b/server/src/com/vaadin/server/VaadinSession.java index 551031b947..b4afc914eb 100644 --- a/server/src/com/vaadin/server/VaadinSession.java +++ b/server/src/com/vaadin/server/VaadinSession.java @@ -1161,7 +1161,7 @@ public class VaadinSession implements HttpSessionBindingListener, Serializable { CurrentInstance.restoreInstances(old); } } - + } /** @@ -1274,16 +1274,6 @@ public class VaadinSession implements HttpSessionBindingListener, Serializable { } /** - * @deprecated As of 7.1.0.beta1, use {@link #accessSynchronously(Runnable)} - * or {@link #access(Runnable)} instead. This method will be - * removed before the final 7.1.0 release. - */ - @Deprecated - public void runSafely(Runnable runnable) { - accessSynchronously(runnable); - } - - /** * Gets the CSRF token (aka double submit cookie) that is used to protect * against Cross Site Request Forgery attacks. * diff --git a/server/src/com/vaadin/ui/UI.java b/server/src/com/vaadin/ui/UI.java index 508564ac0f..545c2c7365 100644 --- a/server/src/com/vaadin/ui/UI.java +++ b/server/src/com/vaadin/ui/UI.java @@ -1230,16 +1230,6 @@ public abstract class UI extends AbstractSingleComponentContainer implements } /** - * @deprecated As of 7.1.0.beta1, use {@link #accessSynchronously(Runnable)} - * or {@link #access(Runnable)} instead. This method will be - * removed before the final 7.1.0 release. - */ - @Deprecated - public void runSafely(Runnable runnable) throws UIDetachedException { - accessSynchronously(runnable); - } - - /** * Retrieves the object used for configuring tooltips. * * @return The instance used for tooltip configuration |