diff options
author | Tor Norbye <tnorbye@google.com> | 2014-09-08 19:33:08 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2014-09-08 19:33:09 +0000 |
commit | 88d9b7d863d313a6077f71215d90d75141fbcdc1 (patch) | |
tree | a3a692eae1d3834c961f465f3fce5cd7d94bcfed /plugins/InspectionGadgets/InspectionGadgetsAnalysis/src/META-INF/InspectionGadgets.xml | |
parent | 4a5b724d9fc18eb12aa59ec23c74e39399ab5c03 (diff) | |
parent | a39e3c44ee6ae11f61bb1a40e94137132fa4423b (diff) | |
download | idea-88d9b7d863d313a6077f71215d90d75141fbcdc1.tar.gz |
Merge "75780: Android Studio: remove J2ME from Project Default code inspection profile"
Diffstat (limited to 'plugins/InspectionGadgets/InspectionGadgetsAnalysis/src/META-INF/InspectionGadgets.xml')
-rw-r--r-- | plugins/InspectionGadgets/InspectionGadgetsAnalysis/src/META-INF/InspectionGadgets.xml | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/plugins/InspectionGadgets/InspectionGadgetsAnalysis/src/META-INF/InspectionGadgets.xml b/plugins/InspectionGadgets/InspectionGadgetsAnalysis/src/META-INF/InspectionGadgets.xml index 81cc13aea292..c8d1f3695cd4 100644 --- a/plugins/InspectionGadgets/InspectionGadgetsAnalysis/src/META-INF/InspectionGadgets.xml +++ b/plugins/InspectionGadgets/InspectionGadgetsAnalysis/src/META-INF/InspectionGadgets.xml @@ -703,6 +703,12 @@ key="simplifiable.conditional.expression.display.name" groupBundle="messages.InspectionsBundle" groupKey="group.names.control.flow.issues" enabledByDefault="true" level="WARNING" implementationClass="com.siyeh.ig.controlflow.SimplifiableConditionalExpressionInspection"/> + <!-- Moved in Android Studio over to the Code Style category where it more logically belongs since this is the only one enabled by default + in the J2ME category and it's really just a code style issue (and there are 4 other Simplifiable-Something conditions here) --> + <localInspection language="JAVA" shortName="SimplifiableIfStatement" bundle="com.siyeh.InspectionGadgetsBundle" + key="simplifiable.if.statement.display.name" groupBundle="messages.InspectionsBundle" + groupKey="group.names.code.style.issues" enabledByDefault="true" level="WARNING" + implementationClass="com.siyeh.ig.j2me.SimplifiableIfStatementInspection"/> <localInspection language="JAVA" shortName="SwitchStatementDensity" bundle="com.siyeh.InspectionGadgetsBundle" key="switch.statement.density.display.name" groupBundle="messages.InspectionsBundle" groupKey="group.names.control.flow.issues" enabledByDefault="false" level="WARNING" @@ -1191,10 +1197,6 @@ bundle="com.siyeh.InspectionGadgetsBundle" key="recordstore.opened.not.safely.closed.display.name" groupBundle="messages.InspectionsBundle" groupKey="group.names.j2me.issues" enabledByDefault="false" level="WARNING" implementationClass="com.siyeh.ig.j2me.RecordStoreResourceInspection"/> - <localInspection language="JAVA" shortName="SimplifiableIfStatement" bundle="com.siyeh.InspectionGadgetsBundle" - key="simplifiable.if.statement.display.name" groupBundle="messages.InspectionsBundle" - groupKey="group.names.j2me.issues" enabledByDefault="true" level="WARNING" - implementationClass="com.siyeh.ig.j2me.SimplifiableIfStatementInspection"/> <localInspection language="JAVA" shortName="SingleCharacterStartsWith" bundle="com.siyeh.InspectionGadgetsBundle" key="single.character.startswith.display.name" groupBundle="messages.InspectionsBundle" groupKey="group.names.j2me.issues" enabledByDefault="false" level="WARNING" |