mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-18 12:31:26 +07:00
IJ-CR-146191 [java-inspections] IDEA-360135 Non-constant string concatenation in logging call could be triggered with exception argument
- fix condition GitOrigin-RevId: 6a86107293990807d48c44fe49f9ead109cb1131
This commit is contained in:
committed by
intellij-monorepo-bot
parent
f2b03dbb7e
commit
1abfdf167e
@@ -395,7 +395,7 @@ public final class StringConcatenationArgumentToLogCallInspection extends BaseIn
|
||||
@Override
|
||||
public void fix(@NotNull PsiMethodCallExpression callExpression) {
|
||||
PsiExpression[] expressions = callExpression.getArgumentList().getExpressions();
|
||||
if (expressions.length < 1) {
|
||||
if (expressions.length < 1 || expressions.length > 2) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user