svn commit: r1294090 - /ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderListState.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1294090 - /ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderListState.java

jleroux@apache.org
Author: jleroux
Date: Mon Feb 27 10:21:51 2012
New Revision: 1294090

URL: http://svn.apache.org/viewvc?rev=1294090&view=rev
Log:
A patch from Chatree Srichart "OrderListState needs to be Serializable for clustering" https://issues.apache.org/jira/browse/OFBIZ-4660

OrderListState is to be set to session, so it needs to be Serializable for clustering.

Modified:
    ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderListState.java

Modified: ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderListState.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderListState.java?rev=1294090&r1=1294089&r2=1294090&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderListState.java (original)
+++ ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderListState.java Mon Feb 27 10:21:51 2012
@@ -18,6 +18,7 @@
  */
 package org.ofbiz.order.order;
 
+import java.io.Serializable;
 import java.sql.Timestamp;
 import java.util.Iterator;
 import java.util.List;
@@ -55,7 +56,8 @@ import org.ofbiz.entity.util.EntityListI
  * objects, including Pagination. Think about design
  * patterns in Fowler.
  */
-public class OrderListState {
+@SuppressWarnings("serial")
+public class OrderListState implements Serializable {
 
     public static final String module = OrderListState.class.getName();
     public static final String SESSION_KEY = "__ORDER_LIST_STATUS__";