mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
merged CVS and Subversion versions
This commit is contained in:
+1
-2
@@ -76,8 +76,7 @@ public class ClassInheritanceDepthInspection
|
||||
maxAncestorDepth = ancestorDepth;
|
||||
}
|
||||
}
|
||||
final int depth = maxAncestorDepth + 1;
|
||||
return depth;
|
||||
return maxAncestorDepth + 1;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
-1
@@ -3,7 +3,6 @@ package com.siyeh.ig.classmetrics;
|
||||
import com.intellij.codeInspection.InspectionManager;
|
||||
import com.intellij.psi.PsiClass;
|
||||
import com.intellij.psi.PsiElement;
|
||||
import com.intellij.psi.PsiIdentifier;
|
||||
import com.siyeh.ig.BaseInspection;
|
||||
import com.siyeh.ig.BaseInspectionVisitor;
|
||||
import com.siyeh.ig.GroupNames;
|
||||
|
||||
@@ -19,7 +19,7 @@ import java.text.NumberFormat;
|
||||
public class FieldCountInspection
|
||||
extends ClassMetricInspection {
|
||||
private static final int FIELD_COUNT_LIMIT = 10;
|
||||
private boolean m_countConstantFields = true;
|
||||
public boolean m_countConstantFields = false;
|
||||
|
||||
public String getDisplayName() {
|
||||
return "Class with too many fields";
|
||||
|
||||
Reference in New Issue
Block a user