EA-36065 - IAE: ExternalAnnotationsManagerImpl.findExternalAnnotation

This commit is contained in:
Anna Kozlova
2012-05-28 14:33:49 +04:00
parent b1d67868c2
commit 49aa6f0a74
@@ -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);
}