& -> &&
This commit is contained in:
parent
d8cd49c1b7
commit
9d35088801
@ -102,7 +102,7 @@ class OioServerSocketChannel extends AbstractServerChannel
|
||||
}
|
||||
|
||||
public boolean isBound() {
|
||||
return isOpen() & socket.isBound();
|
||||
return isOpen() && socket.isBound();
|
||||
}
|
||||
|
||||
public boolean isConnected() {
|
||||
|
@ -79,11 +79,11 @@ abstract class OioSocketChannel extends AbstractChannel
|
||||
}
|
||||
|
||||
public boolean isBound() {
|
||||
return isOpen() & socket.isBound();
|
||||
return isOpen() && socket.isBound();
|
||||
}
|
||||
|
||||
public boolean isConnected() {
|
||||
return isOpen() & socket.isConnected();
|
||||
return isOpen() && socket.isConnected();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user