mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[groovy] disable unused default parameter inspection (follow up IDEA-CR-14162)
This commit is contained in:
@@ -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"
|
||||
|
||||
+6
-7
@@ -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()
|
||||
// }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user