From: Artur Signell Date: Wed, 15 Jan 2014 14:14:36 +0000 (+0200) Subject: Remove client side dependencies in server side javadoc (#13073) X-Git-Tag: 7.2.0.beta1~215 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=4d2f1477ab105476d79ad8a99397b1c3c55d14b1;p=vaadin-framework.git Remove client side dependencies in server side javadoc (#13073) Change-Id: I6601f7f34ea83cb7bb054969dcd4b8b1ebcb0801 --- 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. *

- * 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). *

@@ -43,9 +41,7 @@ public interface JSONSerializer { /** * 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. *

* The json parameter is of type Object as org.json JSON classes have no * other common super class