Skip to content

Commit

Permalink
Improvement over previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
tsantalis committed Feb 13, 2024
1 parent 717dcbe commit 6103ed2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ public boolean equalArgumentsExceptForStringLiterals(AbstractCall call) {

public boolean isStringLiteral(String argument) {
return (argument.startsWith("\"") && argument.endsWith("\"")) ||
(argument.contains("(\"") && argument.contains("\")"));
(argument.contains("(\"") && argument.endsWith("\")"));
}

public boolean equalArguments(AbstractCall call) {
Expand Down

0 comments on commit 6103ed2

Please sign in to comment.