Skip to content

Commit

Permalink
Fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
tsantalis committed Dec 17, 2024
1 parent 0a11281 commit 74e1b5e
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -306,10 +306,6 @@ else if(arg.charAt(i) == '\n' || arg.charAt(i) == '{') {
}
inferredArgumentTypes.add(UMLType.extractTypeObject(type));
}
else if(arg.endsWith(".INSTANCE") || arg.endsWith(".instance()") || arg.endsWith(".getInstance()")) {
String type = arg.substring(0, arg.lastIndexOf("."));
inferredArgumentTypes.add(UMLType.extractTypeObject(type));
}
else if(indexOfOpeningParenthesis == 0 && arg.contains(")") && !arg.contains(JAVA.LAMBDA_ARROW) && !arg.contains(JAVA.METHOD_REFERENCE) && arg.indexOf(")") < arg.length()) {
String cast = arg.substring(indexOfOpeningParenthesis + 1, arg.indexOf(")"));
if(cast.charAt(0) != '(') {
Expand Down

0 comments on commit 74e1b5e

Please sign in to comment.