tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rj...@apache.org
Subject svn commit: r988509 - in /tomcat/sandbox/tomcat-oacc/trunk: docs/ src/share/org/apache/catalina/cluster/ src/share/org/apache/catalina/cluster/mcast/ src/share/org/apache/catalina/cluster/membership/
Date Tue, 24 Aug 2010 12:33:57 GMT
Author: rjung
Date: Tue Aug 24 12:33:56 2010
New Revision: 988509

URL: http://svn.apache.org/viewvc?rev=988509&view=rev
Log:
Add serialVersionUID to the serializable classes.

Parts of this are backported from r946103 (trunk).

Modified:
    tomcat/sandbox/tomcat-oacc/trunk/docs/changelog.xml
    tomcat/sandbox/tomcat-oacc/trunk/src/share/org/apache/catalina/cluster/ClusterMessageBase.java
    tomcat/sandbox/tomcat-oacc/trunk/src/share/org/apache/catalina/cluster/mcast/McastMember.java
    tomcat/sandbox/tomcat-oacc/trunk/src/share/org/apache/catalina/cluster/membership/McastMember.java

Modified: tomcat/sandbox/tomcat-oacc/trunk/docs/changelog.xml
URL: http://svn.apache.org/viewvc/tomcat/sandbox/tomcat-oacc/trunk/docs/changelog.xml?rev=988509&r1=988508&r2=988509&view=diff
==============================================================================
--- tomcat/sandbox/tomcat-oacc/trunk/docs/changelog.xml (original)
+++ tomcat/sandbox/tomcat-oacc/trunk/docs/changelog.xml Tue Aug 24 12:33:56 2010
@@ -32,6 +32,9 @@
 <section name="Tomcat OACC 0.1 (rjung)">
   <subsection name="Cluster">
       <fix>
+        Add serialVersionUID to the serializable classes. (rjung)
+      </fix>
+      <fix>
         Remove unneeded cast and make ReplicationValve volatile
         in the DeltaManager. (rjung)
       </fix>

Modified: tomcat/sandbox/tomcat-oacc/trunk/src/share/org/apache/catalina/cluster/ClusterMessageBase.java
URL: http://svn.apache.org/viewvc/tomcat/sandbox/tomcat-oacc/trunk/src/share/org/apache/catalina/cluster/ClusterMessageBase.java?rev=988509&r1=988508&r2=988509&view=diff
==============================================================================
--- tomcat/sandbox/tomcat-oacc/trunk/src/share/org/apache/catalina/cluster/ClusterMessageBase.java
(original)
+++ tomcat/sandbox/tomcat-oacc/trunk/src/share/org/apache/catalina/cluster/ClusterMessageBase.java
Tue Aug 24 12:33:56 2010
@@ -32,6 +32,8 @@ import org.apache.catalina.cluster.Membe
  */
 public class ClusterMessageBase implements ClusterMessage {
     
+    private static final long serialVersionUID = 1L;
+
     protected Member address = null;
     private String uniqueId = null;
     private long timestamp = 0;
@@ -39,6 +41,7 @@ public class ClusterMessageBase implemen
     private int compress = ClusterMessage.FLAG_DEFAULT ;
 
     public ClusterMessageBase() {
+        // NO-OP
     }
 
     /**

Modified: tomcat/sandbox/tomcat-oacc/trunk/src/share/org/apache/catalina/cluster/mcast/McastMember.java
URL: http://svn.apache.org/viewvc/tomcat/sandbox/tomcat-oacc/trunk/src/share/org/apache/catalina/cluster/mcast/McastMember.java?rev=988509&r1=988508&r2=988509&view=diff
==============================================================================
--- tomcat/sandbox/tomcat-oacc/trunk/src/share/org/apache/catalina/cluster/mcast/McastMember.java
(original)
+++ tomcat/sandbox/tomcat-oacc/trunk/src/share/org/apache/catalina/cluster/mcast/McastMember.java
Tue Aug 24 12:33:56 2010
@@ -31,6 +31,8 @@ import org.apache.catalina.cluster.io.XB
  */
 public class McastMember implements Member, java.io.Serializable {
 
+    private static final long serialVersionUID = 1L;
+
     /**
      * Digits, used for "superfast" de-serialization of an
      * IP address

Modified: tomcat/sandbox/tomcat-oacc/trunk/src/share/org/apache/catalina/cluster/membership/McastMember.java
URL: http://svn.apache.org/viewvc/tomcat/sandbox/tomcat-oacc/trunk/src/share/org/apache/catalina/cluster/membership/McastMember.java?rev=988509&r1=988508&r2=988509&view=diff
==============================================================================
--- tomcat/sandbox/tomcat-oacc/trunk/src/share/org/apache/catalina/cluster/membership/McastMember.java
(original)
+++ tomcat/sandbox/tomcat-oacc/trunk/src/share/org/apache/catalina/cluster/membership/McastMember.java
Tue Aug 24 12:33:56 2010
@@ -31,6 +31,8 @@ import org.apache.catalina.cluster.io.XB
  */
 public class McastMember implements Member, java.io.Serializable {
 
+    private static final long serialVersionUID = 1L;
+
     /**
      * When a member leaves the cluster, the payload of the memberDisappeared member
      * will be the following bytes. This indicates a normal admin shutdown, and not a crash



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message