tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1175889 - in /tomcat/trunk/test/org/apache/catalina/tribes/test/channel: TestDataIntegrity.java TestMulticastPackages.java TestUdpPackages.java
Date Mon, 26 Sep 2011 14:44:48 GMT
Author: markt
Date: Mon Sep 26 14:44:48 2011
New Revision: 1175889

URL: http://svn.apache.org/viewvc?rev=1175889&view=rev
Log:
Remove unused code

Modified:
    tomcat/trunk/test/org/apache/catalina/tribes/test/channel/TestDataIntegrity.java
    tomcat/trunk/test/org/apache/catalina/tribes/test/channel/TestMulticastPackages.java
    tomcat/trunk/test/org/apache/catalina/tribes/test/channel/TestUdpPackages.java

Modified: tomcat/trunk/test/org/apache/catalina/tribes/test/channel/TestDataIntegrity.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/catalina/tribes/test/channel/TestDataIntegrity.java?rev=1175889&r1=1175888&r2=1175889&view=diff
==============================================================================
--- tomcat/trunk/test/org/apache/catalina/tribes/test/channel/TestDataIntegrity.java (original)
+++ tomcat/trunk/test/org/apache/catalina/tribes/test/channel/TestDataIntegrity.java Mon Sep
26 14:44:48 2011
@@ -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++;
                         }
                     }
                 };

Modified: tomcat/trunk/test/org/apache/catalina/tribes/test/channel/TestMulticastPackages.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/catalina/tribes/test/channel/TestMulticastPackages.java?rev=1175889&r1=1175888&r2=1175889&view=diff
==============================================================================
--- tomcat/trunk/test/org/apache/catalina/tribes/test/channel/TestMulticastPackages.java (original)
+++ tomcat/trunk/test/org/apache/catalina/tribes/test/channel/TestMulticastPackages.java Mon
Sep 26 14:44:48 2011
@@ -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++;
                     }
                 }
             };

Modified: tomcat/trunk/test/org/apache/catalina/tribes/test/channel/TestUdpPackages.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/catalina/tribes/test/channel/TestUdpPackages.java?rev=1175889&r1=1175888&r2=1175889&view=diff
==============================================================================
--- tomcat/trunk/test/org/apache/catalina/tribes/test/channel/TestUdpPackages.java (original)
+++ tomcat/trunk/test/org/apache/catalina/tribes/test/channel/TestUdpPackages.java Mon Sep
26 14:44:48 2011
@@ -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++;
                     }
                 }
             };



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


Mime
View raw message