Fix Eclipse warnings in the o.a.c.tribes.test package
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Wed, 2 Jun 2010 11:45:11 +0000 (11:45 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Wed, 2 Jun 2010 11:45:11 +0000 (11:45 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@950507 13f79535-47bb-0310-9956-ffa450edef68

test/org/apache/catalina/tribes/test/channel/TestDataIntegrity.java
test/org/apache/catalina/tribes/test/channel/TestMulticastPackages.java
test/org/apache/catalina/tribes/test/channel/TestRemoteProcessException.java
test/org/apache/catalina/tribes/test/channel/TestUdpPackages.java
test/org/apache/catalina/tribes/test/io/TestSenderConnections.java
test/org/apache/catalina/tribes/test/io/TestSerialization.java

index 642ed59..3a2caca 100644 (file)
@@ -167,6 +167,7 @@ public class TestDataIntegrity extends TestCase {
     }
 
     public static class Data implements Serializable {
+        private static final long serialVersionUID = 1L;
         public int length;
         public byte[] data;
         public byte key;
index bed5757..5babda0 100644 (file)
@@ -197,6 +197,7 @@ public class TestMulticastPackages extends TestCase {
     }
 
     public static class Data implements Serializable {
+        private static final long serialVersionUID = 1L;
         public int length;
         public byte[] data;
         public byte key;
index d21d6d5..bc7591e 100644 (file)
@@ -110,6 +110,7 @@ public class TestRemoteProcessException extends TestCase {
     }
 
     public static class Data implements Serializable {
+        private static final long serialVersionUID = 1L;
         public int length;
         public byte[] data;
         public byte key;
index 135eda6..acf0150 100644 (file)
@@ -240,6 +240,7 @@ public class TestUdpPackages extends TestCase {
     }
 
     public static class Data implements Serializable {
+        private static final long serialVersionUID = 1L;
         public int length;
         public byte[] data;
         public byte key;
index 6f7a4d3..3a8f72f 100644 (file)
@@ -96,6 +96,7 @@ public class TestSenderConnections extends TestCase {
     }
     
     public static class TestMsg implements Serializable {
+        private static final long serialVersionUID = 1L;
         static Random r = new Random();
         HashMap<Integer, ArrayList<Object>> map =
             new HashMap<Integer, ArrayList<Object>>();
index 75debf0..1c5933f 100644 (file)
@@ -26,7 +26,7 @@ public class TestSerialization extends TestCase {
     }
     
     public void testEmptyArray() throws Exception {
-        
+        // TODO
     }
 
     @Override