diff options
-rw-r--r-- | server/src/com/vaadin/server/communication/JSONSerializer.java | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/server/src/com/vaadin/server/communication/JSONSerializer.java b/server/src/com/vaadin/server/communication/JSONSerializer.java index 603942db61..fe609c70b6 100644 --- a/server/src/com/vaadin/server/communication/JSONSerializer.java +++ b/server/src/com/vaadin/server/communication/JSONSerializer.java @@ -17,16 +17,14 @@ package com.vaadin.server.communication; import java.lang.reflect.Type; -import com.google.gwt.json.client.JSONValue; -import com.vaadin.client.ApplicationConnection; import com.vaadin.ui.ConnectorTracker; /** * Implementors of this interface knows how to serialize an Object of a given * type to JSON and how to deserialize the JSON back into an object. * <p> - * The {@link #serialize(Object, ApplicationConnection)} and - * {@link #deserialize(Type, JSONValue, ApplicationConnection)} methods must be + * The {@link #serialize(Object, ConnectorTracker)} and + * {@link #deserialize(Type, Object, ConnectorTracker)} methods must be * symmetric so they can be chained and produce the original result (or an equal * result). * <p> @@ -43,9 +41,7 @@ public interface JSONSerializer<T> { /** * Creates and deserializes an object received from the client. Must be * compatible with {@link #serialize(Object, ConnectorTracker)} and also - * with the client side - * {@link com.vaadin.client.communication.JSONSerializer#serialize(Object, ApplicationConnection)} - * method. + * with the client side com.vaadin.client.communication.JSONSerializer. * <p> * The json parameter is of type Object as org.json JSON classes have no * other common super class |