mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
logging for EA-90262 - assert: RedundantCastUtil$MyIsRedundantVisitor.processCall
This commit is contained in:
@@ -371,7 +371,7 @@ public class RedundantCastUtil {
|
||||
final PsiExpressionList argList = newCall.getArgumentList();
|
||||
LOG.assertTrue(argList != null);
|
||||
PsiExpression[] newArgs = argList.getExpressions();
|
||||
LOG.assertTrue(newArgs.length == args.length, "oldCall: " + expression.getText() + "; newCall: " + newCall.getText());
|
||||
LOG.assertTrue(newArgs.length == args.length, "oldCall: " + expression.getText() + "; old length: " + args.length + "; newCall: " + newCall.getText() + "; new length: " + newArgs.length);
|
||||
PsiTypeCastExpression castExpression = (PsiTypeCastExpression) deparenthesizeExpression(newArgs[i]);
|
||||
final PsiTypeElement castTypeElement = cast.getCastType();
|
||||
final PsiType castType = castTypeElement != null ? castTypeElement.getType() : null;
|
||||
|
||||
Reference in New Issue
Block a user