mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-36065 - IAE: ExternalAnnotationsManagerImpl.findExternalAnnotation
This commit is contained in:
@@ -65,6 +65,7 @@ public class NullableNotNullManager implements PersistentStateComponent<Element>
|
||||
|
||||
private static void addAllIfNotPresent(Collection<String> collection, String... annotations) {
|
||||
for (String annotation : annotations) {
|
||||
LOG.assertTrue(annotation != null);
|
||||
if (!collection.contains(annotation)) {
|
||||
collection.add(annotation);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user