camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bvah...@apache.org
Subject svn commit: r1240833 - in /camel/trunk/tests: camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/blueprint/ camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/core/dataformat/ camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/h...
Date Sun, 05 Feb 2012 21:49:37 GMT
Author: bvahdat
Date: Sun Feb  5 21:49:37 2012
New Revision: 1240833

URL: http://svn.apache.org/viewvc?rev=1240833&view=rev
Log:
Added a couple of explicit serialVersionUID = 1L declarations by the Serializable classes.

Modified:
    camel/trunk/tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/blueprint/MySerialBean.java
    camel/trunk/tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/core/dataformat/MySerialBean.java
    camel/trunk/tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/hazelcast/SimpleObject.java
    camel/trunk/tests/camel-itest/src/test/java/org/apache/camel/itest/jms/PurchaseOrder.java

Modified: camel/trunk/tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/blueprint/MySerialBean.java
URL: http://svn.apache.org/viewvc/camel/trunk/tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/blueprint/MySerialBean.java?rev=1240833&r1=1240832&r2=1240833&view=diff
==============================================================================
--- camel/trunk/tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/blueprint/MySerialBean.java
(original)
+++ camel/trunk/tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/blueprint/MySerialBean.java
Sun Feb  5 21:49:37 2012
@@ -23,6 +23,7 @@ import java.io.Serializable;
  */
 public class MySerialBean implements Serializable {
 
+    private static final long serialVersionUID = 1L;
     private int id;
     private String name;
 

Modified: camel/trunk/tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/core/dataformat/MySerialBean.java
URL: http://svn.apache.org/viewvc/camel/trunk/tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/core/dataformat/MySerialBean.java?rev=1240833&r1=1240832&r2=1240833&view=diff
==============================================================================
--- camel/trunk/tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/core/dataformat/MySerialBean.java
(original)
+++ camel/trunk/tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/core/dataformat/MySerialBean.java
Sun Feb  5 21:49:37 2012
@@ -23,6 +23,7 @@ import java.io.Serializable;
  */
 public class MySerialBean implements Serializable {
 
+    private static final long serialVersionUID = 1L;
     private int id;
     private String name;
 

Modified: camel/trunk/tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/hazelcast/SimpleObject.java
URL: http://svn.apache.org/viewvc/camel/trunk/tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/hazelcast/SimpleObject.java?rev=1240833&r1=1240832&r2=1240833&view=diff
==============================================================================
--- camel/trunk/tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/hazelcast/SimpleObject.java
(original)
+++ camel/trunk/tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/hazelcast/SimpleObject.java
Sun Feb  5 21:49:37 2012
@@ -20,8 +20,9 @@ import java.io.Serializable;
 
 public class SimpleObject implements Serializable {
 
-    Long id;
-    Object value;
+    private static final long serialVersionUID = 1L;
+    private Long id;
+    private Object value;
 
     public SimpleObject(Long id) {
         this.id = id;

Modified: camel/trunk/tests/camel-itest/src/test/java/org/apache/camel/itest/jms/PurchaseOrder.java
URL: http://svn.apache.org/viewvc/camel/trunk/tests/camel-itest/src/test/java/org/apache/camel/itest/jms/PurchaseOrder.java?rev=1240833&r1=1240832&r2=1240833&view=diff
==============================================================================
--- camel/trunk/tests/camel-itest/src/test/java/org/apache/camel/itest/jms/PurchaseOrder.java
(original)
+++ camel/trunk/tests/camel-itest/src/test/java/org/apache/camel/itest/jms/PurchaseOrder.java
Sun Feb  5 21:49:37 2012
@@ -30,6 +30,7 @@ import org.apache.camel.util.ObjectHelpe
 @XmlRootElement
 @XmlAccessorType(XmlAccessType.FIELD)
 public class PurchaseOrder implements Serializable {
+    private static final long serialVersionUID = 1L;
     @XmlAttribute
     private String name;
     @XmlAttribute



Mime
View raw message