mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
enable by default
This commit is contained in:
+1
-1
@@ -1503,7 +1503,7 @@
|
||||
enabledByDefault="false" level="WARNING" implementationClass="com.siyeh.ig.maturity.ThreadDumpStackInspection"/>
|
||||
<localInspection language="JAVA" shortName="ThrowablePrintedToSystemOut" bundle="com.siyeh.InspectionGadgetsBundle"
|
||||
key="throwable.printed.to.system.out.display.name" groupBundle="messages.InspectionsBundle"
|
||||
groupKey="group.names.code.maturity.issues" enabledByDefault="false" level="WARNING"
|
||||
groupKey="group.names.code.maturity.issues" enabledByDefault="true" level="WARNING"
|
||||
implementationClass="com.siyeh.ig.maturity.ThrowablePrintedToSystemOutInspection"/>
|
||||
<localInspection language="JAVA" suppressId="UseOfObsoleteCollectionType" shortName="ObsoleteCollection" bundle="com.siyeh.InspectionGadgetsBundle"
|
||||
key="use.obsolete.collection.type.display.name" groupBundle="messages.InspectionsBundle"
|
||||
|
||||
+5
@@ -43,6 +43,11 @@ public class ThrowablePrintedToSystemOutInspection extends BaseInspection {
|
||||
return InspectionGadgetsBundle.message("throwable.printed.to.system.out.problem.descriptor", fieldName, methodName);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isEnabledByDefault() {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public BaseInspectionVisitor buildVisitor() {
|
||||
return new ThrowablePrintedToSystemOutVisitor();
|
||||
|
||||
Reference in New Issue
Block a user