From 9758cafe2ccbae5df68238ba4a46ef0064b659b8 Mon Sep 17 00:00:00 2001 From: Bas Leijdekkers Date: Sat, 5 Feb 2011 16:11:41 +0100 Subject: [PATCH] enable "Boxing of already boxed value" inspection by default --- .../com/siyeh/ig/performance/BoxingBoxedValueInspection.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/plugins/InspectionGadgets/src/com/siyeh/ig/performance/BoxingBoxedValueInspection.java b/plugins/InspectionGadgets/src/com/siyeh/ig/performance/BoxingBoxedValueInspection.java index b6f9eeac5d2c..a873e6b430a1 100644 --- a/plugins/InspectionGadgets/src/com/siyeh/ig/performance/BoxingBoxedValueInspection.java +++ b/plugins/InspectionGadgets/src/com/siyeh/ig/performance/BoxingBoxedValueInspection.java @@ -49,6 +49,11 @@ public class BoxingBoxedValueInspection extends BaseInspection { boxedPrimitiveMap.put(CommonClassNames.JAVA_LANG_CHARACTER, "char"); } + @Override + public boolean isEnabledByDefault() { + return true; + } + @Nls @NotNull @Override