Skip to content

Commit 655c0b1

Browse files
committed
removed an unnecessary cast that fails in some cases anyway
1 parent f5b1b41 commit 655c0b1

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

soot-infoflow/src/soot/jimple/infoflow/AbstractInfoflow.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -670,8 +670,7 @@ else if (argType instanceof DoubleType)
670670
"Invalid type %s for string concatenation in dynamic invocation", argType.toString()));
671671
}
672672

673-
stmt = jimple.newInvokeStmt(
674-
jimple.newVirtualInvokeExpr(sb, appendRef, Collections.singletonList((Local) arg)));
673+
stmt = jimple.newInvokeStmt(jimple.newVirtualInvokeExpr(sb, appendRef, Collections.singletonList(arg)));
675674
stmt.addTag(SimulatedCodeElementTag.TAG);
676675
newStmts.add(stmt);
677676
}

0 commit comments

Comments
 (0)