mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
one more try to fix tests
This commit is contained in:
+1
-1
@@ -44,7 +44,7 @@ public class SettingsProviderComponent implements ApplicationComponent {
|
||||
final String id = lang.getID();
|
||||
// don't add annotator for language twice
|
||||
// don't add annotator for languages not having own annotators - they may rely on parent annotators
|
||||
if (languages.contains(id) || (lang.getBaseLanguage() != null && LanguageAnnotators.INSTANCE.forKey(lang).isEmpty())) continue;
|
||||
if (languages.contains(id) || (lang.getBaseLanguage() != null/* && LanguageAnnotators.INSTANCE.forKey(lang).isEmpty()*/)) continue;
|
||||
LanguageAnnotators.INSTANCE.addExplicitExtension(lang, annotator);
|
||||
languages.add(id);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user