mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-13 15:52:01 +07:00
[java] Redundant check removed after NotNull ExternalAnnotationsManager.findExternalAnnotations
GitOrigin-RevId: 0adeb1b79f837b1002b88ddb1415c53154a21ec0
This commit is contained in:
committed by
intellij-monorepo-bot
parent
1d83886b74
commit
f286bbfeaf
@@ -176,7 +176,7 @@ class TaintValueFactory(private val myConfiguration: UntaintedConfiguration) {
|
||||
return TaintValue.UNKNOWN
|
||||
}
|
||||
val annotationsManager = ExternalAnnotationsManager.getInstance(owner.project)
|
||||
val annotations = annotationsManager.findExternalAnnotations(owner) ?: return TaintValue.UNKNOWN
|
||||
val annotations = annotationsManager.findExternalAnnotations(owner)
|
||||
return annotations.asSequence()
|
||||
.map { fromAnnotation(it) }
|
||||
.filterNotNull()
|
||||
|
||||
Reference in New Issue
Block a user