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 Feb 29, 2024
1 parent 92e7f32 commit 1b52a13
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 1b52a13

Please sign in to comment.