mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
remove smelly isPhysical() check
This commit is contained in:
+1
-1
@@ -226,7 +226,7 @@ public class LocalCanBeFinal extends BaseJavaBatchLocalInspectionTool {
|
||||
|
||||
for (Iterator<PsiVariable> iterator = result.iterator(); iterator.hasNext(); ) {
|
||||
final PsiVariable variable = iterator.next();
|
||||
if (shouldBeIgnored(variable) || !variable.isPhysical()) {
|
||||
if (shouldBeIgnored(variable)) {
|
||||
iterator.remove();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user