From: Leif Åstrand Date: Wed, 29 May 2013 09:36:46 +0000 (+0300) Subject: Remove UI.runSafely and VaadinSession.runSafely (#11901) X-Git-Tag: 7.1.0~90^2~24 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a744d21c632f70534307c17e8a58499fa2ca9237;p=vaadin-framework.git Remove UI.runSafely and VaadinSession.runSafely (#11901) Change-Id: Ie72e1a3ab72be00c99548a740f16721fb7edab00 --- 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); } } - + } /** @@ -1273,16 +1273,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 @@ -1229,16 +1229,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. *