You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2012/08/29 23:11:46 UTC
svn commit: r1378733 -
/tomcat/trunk/test/org/apache/catalina/tribes/group/interceptors/TestTcpFailureDetector.java
Author: markt
Date: Wed Aug 29 21:11:45 2012
New Revision: 1378733
URL: http://svn.apache.org/viewvc?rev=1378733&view=rev
Log:
Re-organise to silence some FindBugs warnings
Modified:
tomcat/trunk/test/org/apache/catalina/tribes/group/interceptors/TestTcpFailureDetector.java
Modified: tomcat/trunk/test/org/apache/catalina/tribes/group/interceptors/TestTcpFailureDetector.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/catalina/tribes/group/interceptors/TestTcpFailureDetector.java?rev=1378733&r1=1378732&r2=1378733&view=diff
==============================================================================
--- tomcat/trunk/test/org/apache/catalina/tribes/group/interceptors/TestTcpFailureDetector.java (original)
+++ tomcat/trunk/test/org/apache/catalina/tribes/group/interceptors/TestTcpFailureDetector.java Wed Aug 29 21:11:45 2012
@@ -136,9 +136,17 @@ public class TestTcpFailureDetector {
public void tearDown() throws Exception {
tcpFailureDetector1 = null;
tcpFailureDetector2 = null;
- try { channel1.stop(Channel.DEFAULT);}catch (Exception ignore){ /* Ignore */ }
+ try {
+ channel1.stop(Channel.DEFAULT);
+ } catch (Exception ignore) {
+ // Ignore
+ }
channel1 = null;
- try { channel2.stop(Channel.DEFAULT);}catch (Exception ignore){ /* Ignore */ }
+ try {
+ channel2.stop(Channel.DEFAULT);
+ } catch (Exception ignore) {
+ // Ignore
+ }
channel2 = null;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org