Skip to content

Commit 9cb8677

Browse files
committed
Fixing | to || in a logical expression
1 parent 81707fb commit 9cb8677

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/client/src/org/openqa/selenium/interactions/internal/SingleKeyAction.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ protected SingleKeyAction(Keyboard keyboard, Mouse mouse, Locatable locationProv
4141
this.key = key;
4242
boolean isModifier = false;
4343
for (Keys modifier : MODIFIER_KEYS) {
44-
isModifier = isModifier | modifier.equals(key);
44+
isModifier = isModifier || modifier.equals(key);
4545
}
4646

4747
if (!isModifier) {

0 commit comments

Comments
 (0)