[groovy] disable unused default parameter inspection (follow up IDEA-CR-14162)

This commit is contained in:
Daniil Ovchinnikov
2016-10-12 17:40:33 +03:00
parent 10e04d282e
commit e7e3609113
2 changed files with 6 additions and 12 deletions
-5
View File
@@ -668,11 +668,6 @@
bundle="org.jetbrains.plugins.groovy.codeInspection.GroovyInspectionBundle"
key="unused.inc.dec" groupKey="groovy.dfa.issues" enabledByDefault="true" level="WARNING"
implementationClass="org.jetbrains.plugins.groovy.codeInspection.confusing.GrUnusedIncDecInspection"/>
<localInspection language="Groovy" groupPath="Groovy"
bundle="org.jetbrains.plugins.groovy.codeInspection.GroovyInspectionBundle"
key="unused.default.parameter" groupName="Declaration redundancy"
level="WARNING" cleanupTool="true"
implementationClass="org.jetbrains.plugins.groovy.codeInspection.unused.defaultParameter.GrUnusedDefaultParameterInspection"/>
<localInspection language="Groovy" groupPath="Groovy" shortName="GroovyVariableNotAssigned"
bundle="org.jetbrains.plugins.groovy.codeInspection.GroovyInspectionBundle"
key="unassigned.access" groupKey="groovy.dfa.issues" enabledByDefault="true" level="WARNING"
@@ -16,9 +16,8 @@
package org.jetbrains.plugins.groovy.codeInspection.unused.defaultParameter
import org.jetbrains.plugins.groovy.GroovyLightProjectDescriptor
import org.jetbrains.plugins.groovy.LightGroovyTestCase
class GrUnusedDefaultParameterInspectionTest extends LightGroovyTestCase {
class GrUnusedDefaultParameterInspectionTest /*extends LightGroovyTestCase*/ {
final GroovyLightProjectDescriptor projectDescriptor = GroovyLightProjectDescriptor.GROOVY_LATEST
@@ -179,10 +178,10 @@ class B extends A {
}
private void testHighlighting(String text) {
fixture.with {
configureByText '_.groovy', text
enableInspections GrUnusedDefaultParameterInspection
checkHighlighting()
}
// fixture.with {
// configureByText '_.groovy', text
// enableInspections GrUnusedDefaultParameterInspection
// checkHighlighting()
// }
}
}