Merge pull request #1412 from dreis2211/short-circuit

Issue #1411 - Use short-circuit operator in websocket Frame
This commit is contained in:
Joakim Erdfelt 2017-03-19 13:08:21 -07:00 committed by GitHub
commit a29b908361
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()