enable by default

This commit is contained in:
Bas Leijdekkers
2013-11-28 16:00:34 +01:00
parent d5d96de9f8
commit 166d33a827
2 changed files with 6 additions and 1 deletions
@@ -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"
@@ -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();