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: [email protected]
For additional commands, e-mail: [email protected]