This commit is contained in:
Trustin Lee 2008-11-07 02:10:44 +00:00
parent d8cd49c1b7
commit 9d35088801
2 changed files with 3 additions and 3 deletions

View File

@ -102,7 +102,7 @@ class OioServerSocketChannel extends AbstractServerChannel
}
public boolean isBound() {
return isOpen() & socket.isBound();
return isOpen() && socket.isBound();
}
public boolean isConnected() {

View File

@ -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