mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Groovy: unresolved access inspection has 'weak-warning' severity by default
This commit is contained in:
@@ -981,7 +981,7 @@
|
||||
implementationClass="org.jetbrains.plugins.groovy.codeInspection.untypedUnresolvedAccess.GroovyUntypedAccessInspection"/>
|
||||
<localInspection language="Groovy" groupPath="Groovy" shortName="GrUnresolvedAccess" displayName="Access to unresolved expression"
|
||||
groupName="Probable bugs"
|
||||
enabledByDefault="true" level="WARNING"
|
||||
enabledByDefault="true" level="WEAK WARNING"
|
||||
implementationClass="org.jetbrains.plugins.groovy.codeInspection.untypedUnresolvedAccess.GrUnresolvedAccessInspection"/>
|
||||
<localInspection language="Groovy" groupPath="Groovy" shortName="GroovySingletonAnnotation"
|
||||
displayName="Check '@Singleton' annotation conventions"
|
||||
|
||||
+1
-1
@@ -379,7 +379,7 @@ public class GrUnresolvedAccessInspection extends GroovySuppressableInspectionTo
|
||||
return HighlightInfo.newHighlightInfo(HighlightInfoType.WRONG_REF).range(refNameElement).descriptionAndTooltip(message).create();
|
||||
}
|
||||
|
||||
if (displayLevel == HighlightDisplayLevel.WARNING) {
|
||||
if (displayLevel == HighlightDisplayLevel.WEAK_WARNING) {
|
||||
boolean isTestMode = ApplicationManager.getApplication().isUnitTestMode();
|
||||
HighlightInfoType infotype = isTestMode ? HighlightInfoType.WARNING : HighlightInfoType.INFORMATION;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user