Tiny code cleanup

This commit is contained in:
Trustin Lee 2009-03-12 07:17:25 +00:00
parent 5f1dd20d74
commit a91f3e4acf

View File

@ -183,11 +183,9 @@ class HttpTunnelingChannelHandler extends SimpleChannelHandler {
try { try {
connected = false; connected = false;
reconnectCondition.await(reconnectTimeoutMillis, TimeUnit.MILLISECONDS); reconnectCondition.await(reconnectTimeoutMillis, TimeUnit.MILLISECONDS);
} } catch (InterruptedException e) {
catch (InterruptedException e) { // return with current state.
return connected; } finally {
}
finally {
reconnectLock.unlock(); reconnectLock.unlock();
} }
return connected; return connected;