[pal-cvs 3447] [1181] added Serializable.

svnno****@sourc***** svnno****@sourc*****
2008年 9月 25日 (木) 06:39:29 JST


Revision: 1181
          http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=pal&view=rev&rev=1181
Author:   shinsuke
Date:     2008-09-25 06:39:29 +0900 (Thu, 25 Sep 2008)

Log Message:
-----------
added Serializable.

Modified Paths:
--------------
    googlegadgets/trunk/src/main/java/jp/sf/pal/ggadget/action/EditAction.java
    googlegadgets/trunk/src/main/java/jp/sf/pal/ggadget/action/ViewAction.java
    googlegadgets/trunk/src/main/java/jp/sf/pal/ggadget/form/EditForm.java


-------------- next part --------------
Modified: googlegadgets/trunk/src/main/java/jp/sf/pal/ggadget/action/EditAction.java
===================================================================
--- googlegadgets/trunk/src/main/java/jp/sf/pal/ggadget/action/EditAction.java	2008-09-24 13:53:09 UTC (rev 1180)
+++ googlegadgets/trunk/src/main/java/jp/sf/pal/ggadget/action/EditAction.java	2008-09-24 21:39:29 UTC (rev 1181)
@@ -1,5 +1,6 @@
 package jp.sf.pal.ggadget.action;
 
+import java.io.Serializable;
 import java.util.ArrayList;
 import java.util.List;
 
@@ -21,7 +22,10 @@
 import org.seasar.struts.annotation.Execute;
 import org.seasar.struts.exception.ActionMessagesException;
 
-public class EditAction {
+public class EditAction implements Serializable {
+
+    private static final long serialVersionUID = -706071679279481385L;
+
     private static final Log log = LogFactory.getLog(EditAction.class);
 
     public List<GGadget> gadgetItems;

Modified: googlegadgets/trunk/src/main/java/jp/sf/pal/ggadget/action/ViewAction.java
===================================================================
--- googlegadgets/trunk/src/main/java/jp/sf/pal/ggadget/action/ViewAction.java	2008-09-24 13:53:09 UTC (rev 1180)
+++ googlegadgets/trunk/src/main/java/jp/sf/pal/ggadget/action/ViewAction.java	2008-09-24 21:39:29 UTC (rev 1181)
@@ -14,7 +14,7 @@
 
 public class ViewAction implements Serializable {
 
-    private static final long serialVersionUID = 1L;
+    private static final long serialVersionUID = -66671108317476649L;
 
     public String url;
 

Modified: googlegadgets/trunk/src/main/java/jp/sf/pal/ggadget/form/EditForm.java
===================================================================
--- googlegadgets/trunk/src/main/java/jp/sf/pal/ggadget/form/EditForm.java	2008-09-24 13:53:09 UTC (rev 1180)
+++ googlegadgets/trunk/src/main/java/jp/sf/pal/ggadget/form/EditForm.java	2008-09-24 21:39:29 UTC (rev 1181)
@@ -1,8 +1,13 @@
 package jp.sf.pal.ggadget.form;
 
+import java.io.Serializable;
+
 import org.seasar.struts.annotation.IntegerType;
 
-public class EditForm {
+public class EditForm implements Serializable {
+
+    private static final long serialVersionUID = -5458780140495436022L;
+
     @IntegerType
     public String id;
 


pal-cvs メーリングリストの案内