From: markt Date: Mon, 26 Sep 2011 14:44:48 +0000 (+0000) Subject: Remove unused code X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=56349a8b5b74acceddc2a32539259d1e3fe66f95;p=tomcat7.0 Remove unused code git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1175889 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/test/org/apache/catalina/tribes/test/channel/TestDataIntegrity.java b/test/org/apache/catalina/tribes/test/channel/TestDataIntegrity.java index 2a77a5c38..d86352524 100644 --- a/test/org/apache/catalina/tribes/test/channel/TestDataIntegrity.java +++ b/test/org/apache/catalina/tribes/test/channel/TestDataIntegrity.java @@ -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++; } } }; diff --git a/test/org/apache/catalina/tribes/test/channel/TestMulticastPackages.java b/test/org/apache/catalina/tribes/test/channel/TestMulticastPackages.java index b325ddc8f..354d5cdf4 100644 --- a/test/org/apache/catalina/tribes/test/channel/TestMulticastPackages.java +++ b/test/org/apache/catalina/tribes/test/channel/TestMulticastPackages.java @@ -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++; } } }; diff --git a/test/org/apache/catalina/tribes/test/channel/TestUdpPackages.java b/test/org/apache/catalina/tribes/test/channel/TestUdpPackages.java index e3a66e58b..0c9a2aadf 100644 --- a/test/org/apache/catalina/tribes/test/channel/TestUdpPackages.java +++ b/test/org/apache/catalina/tribes/test/channel/TestUdpPackages.java @@ -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++; } } };