From a744d21c632f70534307c17e8a58499fa2ca9237 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Leif=20=C3=85strand?= Date: Wed, 29 May 2013 12:36:46 +0300 Subject: [PATCH] Remove UI.runSafely and VaadinSession.runSafely (#11901) Change-Id: Ie72e1a3ab72be00c99548a740f16721fb7edab00 --- server/src/com/vaadin/server/VaadinSession.java | 12 +----------- server/src/com/vaadin/ui/UI.java | 10 ---------- 2 files changed, 1 insertion(+), 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); } } - + } /** @@ -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. * -- 2.39.5