Skip to content

Commit

Permalink
Improved statement mappings Jsoup/16
Browse files Browse the repository at this point in the history
  • Loading branch information
tsantalis committed Feb 13, 2024
1 parent 151935f commit 717dcbe
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,8 @@ public boolean equalArgumentsExceptForStringLiterals(AbstractCall call) {
}

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

public boolean equalArguments(AbstractCall call) {
Expand Down

0 comments on commit 717dcbe

Please sign in to comment.