Remove unused code
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 26 Sep 2011 14:44:48 +0000 (14:44 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 26 Sep 2011 14:44:48 +0000 (14:44 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1175889 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/TestUdpPackages.java

index 2a77a5c..d863525 100644 (file)
@@ -49,9 +49,6 @@ public class TestDataIntegrity {
     private GroupChannel channel2;
     private Listener listener1;
 
-    @SuppressWarnings("unused")
-    private int threadCounter = 0;
-
     @Before
     public void setUp() throws Exception {
         channel1 = new GroupChannel();
@@ -85,8 +82,6 @@ public class TestDataIntegrity {
                     }catch ( Exception x ) {
                         x.printStackTrace();
                         return;
-                    } finally {
-                        threadCounter++;
                     }
                 }
             };
@@ -115,8 +110,6 @@ public class TestDataIntegrity {
                         }catch ( Exception x ) {
                             x.printStackTrace();
                             return;
-                        } finally {
-                            threadCounter++;
                         }
                     }
                 };
index b325ddc..354d5cd 100644 (file)
@@ -49,9 +49,6 @@ public class TestMulticastPackages {
     private GroupChannel channel2;
     private Listener listener1;
 
-    @SuppressWarnings("unused")
-    private int threadCounter = 0;
-
     @Before
     public void setUp() throws Exception {
         channel1 = new GroupChannel();
@@ -128,8 +125,6 @@ public class TestMulticastPackages {
                     }catch ( Exception x ) {
                         x.printStackTrace();
                         return;
-                    } finally {
-                        threadCounter++;
                     }
                 }
             };
index e3a66e5..0c9a2aa 100644 (file)
@@ -49,9 +49,6 @@ public class TestUdpPackages {
     private GroupChannel channel2;
     private Listener listener1;
 
-    @SuppressWarnings("unused")
-    private int threadCounter = 0;
-
     @Before
     public void setUp() throws Exception {
         channel1 = new GroupChannel();
@@ -120,8 +117,6 @@ public class TestUdpPackages {
                     }catch ( Exception x ) {
                         x.printStackTrace();
                         return;
-                    } finally {
-                        threadCounter++;
                     }
                 }
             };
@@ -171,8 +166,6 @@ public class TestUdpPackages {
                     }catch ( Exception x ) {
                         x.printStackTrace();
                         return;
-                    } finally {
-                        threadCounter++;
                     }
                 }
             };