Skip to content

Commit

Permalink
Replace bit or with logical or condition
Browse files Browse the repository at this point in the history
  • Loading branch information
henning-gerhardt committed Mar 19, 2024
1 parent 6cbc005 commit 2f8373b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -463,8 +463,8 @@ public boolean containsFiles(String stringWithVariables) {
if (Objects.isNull(stringWithVariables)) {
return false;
}
return stringWithVariables.contains("(filename)") | stringWithVariables.contains("(basename)")
| stringWithVariables.contains("(relativepath)");
return stringWithVariables.contains("(filename)") || stringWithVariables.contains("(basename)")
|| stringWithVariables.contains("(relativepath)");
}

/**
Expand Down

0 comments on commit 2f8373b

Please sign in to comment.