From f85c152a48686a8a0dca38ca12b4f3509cac056f Mon Sep 17 00:00:00 2001
From: Leif Åstrand
Date: Fri, 31 Aug 2012 12:14:52 +0300
Subject: Remove @EagerInit (#9445)
---
server/src/com/vaadin/ui/UI.java | 14 ++------------
1 file changed, 2 insertions(+), 12 deletions(-)
(limited to 'server/src/com/vaadin/ui')
diff --git a/server/src/com/vaadin/ui/UI.java b/server/src/com/vaadin/ui/UI.java
index b6ac271942..d1ccaacde3 100644
--- a/server/src/com/vaadin/ui/UI.java
+++ b/server/src/com/vaadin/ui/UI.java
@@ -28,7 +28,6 @@ import java.util.LinkedHashSet;
import java.util.Map;
import com.vaadin.Application;
-import com.vaadin.annotations.EagerInit;
import com.vaadin.event.Action;
import com.vaadin.event.Action.Handler;
import com.vaadin.event.ActionManager;
@@ -77,12 +76,6 @@ import com.vaadin.tools.ReflectTools;
* passing a {@link ComponentContainer} with the main layout of the view to
* {@link #setContent(ComponentContainer)}.
*
- *
- * If a {@link EagerInit} annotation is present on a class extending
- * UI
, the framework will use a faster initialization method which
- * will not ensure that {@link BrowserDetails} are present in the
- * {@link WrappedRequest} passed to the init method.
- *
*
* @see #init(WrappedRequest)
* @see Application#createUI(WrappedRequest)
@@ -961,11 +954,8 @@ public abstract class UI extends AbstractComponentContainer implements
* state of the UI is not properly set up when the constructor is invoked.
*
* The {@link WrappedRequest} can be used to get information about the
- * request that caused this UI to be created. By default, the
- * {@link BrowserDetails} will be available in the request. If the browser
- * details are not required, loading the application in the browser can take
- * some shortcuts giving a faster initial rendering. This can be indicated
- * by adding the {@link EagerInit} annotation to the UI class.
+ * request that caused this UI to be created. {@link BrowserDetails} will be
+ * available in the request.
*
*
* @param request
--
cgit v1.2.3