Removed unnecessary 'if' condition
This commit is contained in:
parent
e757135583
commit
03de679b17
@ -160,7 +160,6 @@ class LocalChannel extends AbstractChannel {
|
||||
return;
|
||||
}
|
||||
|
||||
if (pairedChannel == null || !isOpen()) {
|
||||
// Channel is closed or not connected yet - notify as failures.
|
||||
Exception cause;
|
||||
if (isOpen()) {
|
||||
@ -179,5 +178,4 @@ class LocalChannel extends AbstractChannel {
|
||||
fireExceptionCaught(this, cause);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user