summaryrefslogtreecommitdiffstats
path: root/server/src
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2013-05-27 21:38:25 +0300
committerArtur Signell <artur@vaadin.com>2013-05-28 10:13:56 +0300
commit2882cf98756974f40ba98d66c7d7318db6acd538 (patch)
tree4ea30c0cf6eb6118b93cf9a482d4758d36ad4be4 /server/src
parentf7f1e3ece5206c335487ce25f4e709370024109d (diff)
downloadvaadin-framework-2882cf98756974f40ba98d66c7d7318db6acd538.tar.gz
vaadin-framework-2882cf98756974f40ba98d66c7d7318db6acd538.zip
Added Serializable where missing and ignore classes which do not need Serializable
Change-Id: I197b2d62282ee957458e05d9cac357df47f05e85
Diffstat (limited to 'server/src')
-rw-r--r--server/src/com/vaadin/data/util/LegacyPropertyHelper.java3
-rw-r--r--server/src/com/vaadin/server/communication/AtmospherePushConnection.java4
-rw-r--r--server/src/com/vaadin/server/communication/PushConnection.java4
3 files changed, 7 insertions, 4 deletions
diff --git a/server/src/com/vaadin/data/util/LegacyPropertyHelper.java b/server/src/com/vaadin/data/util/LegacyPropertyHelper.java
index 0276e35dbf..3eb22524f8 100644
--- a/server/src/com/vaadin/data/util/LegacyPropertyHelper.java
+++ b/server/src/com/vaadin/data/util/LegacyPropertyHelper.java
@@ -15,6 +15,7 @@
*/
package com.vaadin.data.util;
+import java.io.Serializable;
import java.util.logging.Level;
import java.util.logging.Logger;
@@ -32,7 +33,7 @@ import com.vaadin.server.VaadinService;
* @deprecated This is only used internally for backwards compatibility
*/
@Deprecated
-public class LegacyPropertyHelper {
+public class LegacyPropertyHelper implements Serializable {
/**
* Returns the property value converted to a String.
diff --git a/server/src/com/vaadin/server/communication/AtmospherePushConnection.java b/server/src/com/vaadin/server/communication/AtmospherePushConnection.java
index 96507b55f1..e967dd925a 100644
--- a/server/src/com/vaadin/server/communication/AtmospherePushConnection.java
+++ b/server/src/com/vaadin/server/communication/AtmospherePushConnection.java
@@ -42,12 +42,12 @@ import com.vaadin.ui.UI;
* @author Vaadin Ltd
* @since 7.1
*/
-public class AtmospherePushConnection implements Serializable, PushConnection {
+public class AtmospherePushConnection implements PushConnection {
/**
* Represents a message that can arrive as multiple fragments.
*/
- protected static class FragmentedMessage {
+ protected static class FragmentedMessage implements Serializable {
private final StringBuilder message = new StringBuilder();
private final int messageLength;
diff --git a/server/src/com/vaadin/server/communication/PushConnection.java b/server/src/com/vaadin/server/communication/PushConnection.java
index 4e043f565f..bb88998402 100644
--- a/server/src/com/vaadin/server/communication/PushConnection.java
+++ b/server/src/com/vaadin/server/communication/PushConnection.java
@@ -16,6 +16,8 @@
package com.vaadin.server.communication;
+import java.io.Serializable;
+
import com.vaadin.ui.UI;
/**
@@ -25,7 +27,7 @@ import com.vaadin.ui.UI;
* @author Vaadin Ltd
* @since 7.1
*/
-public interface PushConnection {
+public interface PushConnection extends Serializable {
/**
* Pushes pending state changes and client RPC calls to the client. It is