Skip to content

Commit 4c2e56e

Browse files
Use short-circuit logical "or" as suggested by error-prone
1 parent e25720f commit 4c2e56e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/org/sosy_lab/java_smt/basicimpl/Tokenizer.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -238,8 +238,8 @@ public static boolean isExitToken(String token) {
238238
*/
239239
public static boolean isForbiddenToken(String token) {
240240
return isPushToken(token)
241-
| isPopToken(token)
242-
| isResetAssertionsToken(token)
243-
| isResetToken(token);
241+
|| isPopToken(token)
242+
|| isResetAssertionsToken(token)
243+
|| isResetToken(token);
244244
}
245245
}

0 commit comments

Comments
 (0)