tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1043260 - /tomcat/trunk/java/org/apache/catalina/tribes/group/AbsoluteOrder.java
Date Wed, 08 Dec 2010 01:01:57 GMT
Author: markt
Date: Wed Dec  8 01:01:56 2010
New Revision: 1043260

URL: http://svn.apache.org/viewvc?rev=1043260&view=rev
Log:
Another Findbugs niggle

Modified:
    tomcat/trunk/java/org/apache/catalina/tribes/group/AbsoluteOrder.java

Modified: tomcat/trunk/java/org/apache/catalina/tribes/group/AbsoluteOrder.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/tribes/group/AbsoluteOrder.java?rev=1043260&r1=1043259&r2=1043260&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/tribes/group/AbsoluteOrder.java (original)
+++ tomcat/trunk/java/org/apache/catalina/tribes/group/AbsoluteOrder.java Wed Dec  8 01:01:56
2010
@@ -16,6 +16,7 @@
  */
 package org.apache.catalina.tribes.group;
 
+import java.io.Serializable;
 import java.util.Arrays;
 import java.util.Comparator;
 
@@ -57,7 +58,12 @@ public class AbsoluteOrder {
     }
     
     
-    public static class AbsoluteComparator implements Comparator<Member> {
+    public static class AbsoluteComparator implements Comparator<Member>,
+            Serializable {
+        
+        private static final long serialVersionUID = 1L;
+
+        @Override
         public int compare(Member m1, Member m2) {
             int result = compareIps(m1,m2);
             if ( result == 0 ) result = comparePorts(m1,m2);



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


Mime
View raw message