From e4ee11793e0d5ba4ca0a18c0e4e8d014591ccb7a Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Fri, 23 Nov 2012 17:33:30 +0200 Subject: [PATCH] Updated javadoc (#9684) Change-Id: I38ca8700d2c6bf0cd2b8514295de607af7c15edb --- server/src/com/vaadin/server/AbstractClientConnector.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/server/src/com/vaadin/server/AbstractClientConnector.java b/server/src/com/vaadin/server/AbstractClientConnector.java index 70a4c342cc..cce73d0fa6 100644 --- a/server/src/com/vaadin/server/AbstractClientConnector.java +++ b/server/src/com/vaadin/server/AbstractClientConnector.java @@ -35,6 +35,7 @@ import java.util.logging.Logger; import org.json.JSONException; import org.json.JSONObject; +import com.vaadin.client.ui.LegacyConnector; import com.vaadin.event.EventRouter; import com.vaadin.event.MethodEventSource; import com.vaadin.shared.communication.ClientRpc; @@ -117,7 +118,12 @@ public abstract class AbstractClientConnector implements ClientConnector, } /** - * @deprecated As of 7.0, use {@link #markAsDirty()} instead + * @deprecated As of 7.0, use {@link #markAsDirty()} instead. Note that you + * typically do not need to call {@link #markAsDirty()} as + * {@link #getState()} will mark the connector dirty and the + * framework will then check what, if anything, needs to be sent + * to the client. {@link LegacyConnector}s which rely on paint + * might still need to call this or {@link #markAsDirty()} . */ @Deprecated @Override -- 2.39.5