Issue #1411 - Use short-circuit operator in websocket Frame

Signed-off-by: dreis2211 <christoph.dreis@freenet.de>
This commit is contained in:
dreis2211 2017-03-19 19:31:36 +01:00
parent 5ecb8b8526
commit 83fbd5bf0d
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ public interface Frame
public boolean isData()
{
return (opcode == TEXT.getOpCode()) | (opcode == BINARY.getOpCode());
return (opcode == TEXT.getOpCode()) || (opcode == BINARY.getOpCode());
}
public boolean isContinuation()