Skip to content

Commit

Permalink
Final fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tsantalis committed Dec 18, 2024
1 parent 30075fe commit 623a709
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,8 @@ private boolean argumentizedStringExactAfterTypeReplacement() {
return true;
}
}
else if(s1.contains(r.getBefore() + ".class") && s2.contains(r.getAfter() + ".class")) {
else if(s1.contains(r.getBefore() + ".class") && s2.contains(r.getAfter() + ".class") &&
!s1.contains("<" + r.getBefore() + ">") && !s2.contains("<" + r.getAfter() + ">")) {
String temp = s2.replace(r.getAfter(), r.getBefore());
if(s1.equals(temp) || (s1 + JAVA.STATEMENT_TERMINATION).equals(temp)) {
return true;
Expand Down

0 comments on commit 623a709

Please sign in to comment.