Author: andreas
Date: Tue Dec 4 05:32:59 2007
New Revision: 600933
URL: http://svn.apache.org/viewvc?rev=600933&view=rev
Log:
Making message class serializable to avoid errors when the session is restored
Modified:
lenya/branches/branch_1_2_x_shibboleth/src/java/org/apache/lenya/ac/Message.java
Modified: lenya/branches/branch_1_2_x_shibboleth/src/java/org/apache/lenya/ac/Message.java
URL: http://svn.apache.org/viewvc/lenya/branches/branch_1_2_x_shibboleth/src/java/org/apache/lenya/ac/Message.java?rev=600933&r1=600932&r2=600933&view=diff
==============================================================================
--- lenya/branches/branch_1_2_x_shibboleth/src/java/org/apache/lenya/ac/Message.java (original)
+++ lenya/branches/branch_1_2_x_shibboleth/src/java/org/apache/lenya/ac/Message.java Tue Dec 4 05:32:59 2007
@@ -17,6 +17,7 @@
*/
package org.apache.lenya.ac;
+import java.io.Serializable;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
@@ -24,8 +25,9 @@
/**
* A message for i18n-ized user feedback.
*/
-public class Message {
+public class Message implements Serializable {
+ private static final long serialVersionUID = 1L;
private String text;
private List parameters = new ArrayList();
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.