aboutsummaryrefslogtreecommitdiffstats
path: root/shared
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 /shared
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 'shared')
-rw-r--r--shared/src/com/vaadin/shared/ui/calendar/CalendarEventId.java4
-rw-r--r--shared/src/com/vaadin/shared/ui/calendar/DateConstants.java4
-rw-r--r--shared/src/com/vaadin/shared/util/SharedUtil.java4
3 files changed, 9 insertions, 3 deletions
diff --git a/shared/src/com/vaadin/shared/ui/calendar/CalendarEventId.java b/shared/src/com/vaadin/shared/ui/calendar/CalendarEventId.java
index 6f52aabf43..27f1cdd341 100644
--- a/shared/src/com/vaadin/shared/ui/calendar/CalendarEventId.java
+++ b/shared/src/com/vaadin/shared/ui/calendar/CalendarEventId.java
@@ -15,6 +15,8 @@
*/
package com.vaadin.shared.ui.calendar;
+import java.io.Serializable;
+
/**
* CalendarEventId contains static String identifiers for all Calendar events.
* These are used both in the client and server side code.
@@ -22,7 +24,7 @@ package com.vaadin.shared.ui.calendar;
* @since 7.1
* @author Vaadin Ltd.
*/
-public class CalendarEventId {
+public class CalendarEventId implements Serializable {
public static final String EVENTMOVE = "eventMove";
public static final String RANGESELECT = "rangeSelect";
diff --git a/shared/src/com/vaadin/shared/ui/calendar/DateConstants.java b/shared/src/com/vaadin/shared/ui/calendar/DateConstants.java
index 8a840274c2..9b1c995642 100644
--- a/shared/src/com/vaadin/shared/ui/calendar/DateConstants.java
+++ b/shared/src/com/vaadin/shared/ui/calendar/DateConstants.java
@@ -15,12 +15,14 @@
*/
package com.vaadin.shared.ui.calendar;
+import java.io.Serializable;
+
/**
*
* @since 7.1
*
*/
-public class DateConstants {
+public class DateConstants implements Serializable {
public static final String ACTION_DATE_FORMAT_PATTERN = "yyyy-MM-dd HH:mm:ss";
public static final String CLIENT_DATE_FORMAT = "yyyy-MM-dd";
diff --git a/shared/src/com/vaadin/shared/util/SharedUtil.java b/shared/src/com/vaadin/shared/util/SharedUtil.java
index 2242fa4363..80efe68d83 100644
--- a/shared/src/com/vaadin/shared/util/SharedUtil.java
+++ b/shared/src/com/vaadin/shared/util/SharedUtil.java
@@ -15,6 +15,8 @@
*/
package com.vaadin.shared.util;
+import java.io.Serializable;
+
/**
* Misc internal utility methods used by both the server and the client package.
*
@@ -22,7 +24,7 @@ package com.vaadin.shared.util;
* @since 7.1
*
*/
-public class SharedUtil {
+public class SharedUtil implements Serializable {
/**
* Checks if a and b are equals using {@link #equals(Object)}. Handles null
* values as well. Does not ensure that objects are of the same type.