Use Jsr305State.DEFAULT instead of IGNORE as a default value
This commit is contained in:
+1
-1
@@ -44,7 +44,7 @@ object IDELanguageSettingsProvider : LanguageSettingsProvider {
|
||||
val compilerArguments = settings.mergedCompilerArguments as? K2JVMCompilerArguments ?: continue
|
||||
|
||||
val jsr305state = Jsr305State.findByDescription(compilerArguments.jsr305)
|
||||
if (jsr305state != null && jsr305state != Jsr305State.IGNORE) {
|
||||
if (jsr305state != null && jsr305state != Jsr305State.DEFAULT) {
|
||||
map.put(AnalysisFlag.jsr305, jsr305state)
|
||||
break
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user