]> source.dussan.org Git - vaadin-framework.git/commitdiff
Remove UI.runSafely and VaadinSession.runSafely (#11901)
authorLeif Åstrand <leif@vaadin.com>
Wed, 29 May 2013 09:36:46 +0000 (12:36 +0300)
committerLeif Åstrand <leif@vaadin.com>
Wed, 29 May 2013 09:36:46 +0000 (12:36 +0300)
Change-Id: Ie72e1a3ab72be00c99548a740f16721fb7edab00

server/src/com/vaadin/server/VaadinSession.java
server/src/com/vaadin/ui/UI.java

index 551031b9474afd74295164dfcb9495ab0d85dcb9..b4afc914eb62ccfd9e389ae72f3d317415fb6079 100644 (file)
@@ -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.
index 508564ac0f87dc53199630f044c5e1f7812c1556..545c2c73659139d4ab3af5348c60924939a750e4 100644 (file)
@@ -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.
      *