one more try to fix tests

This commit is contained in:
Dennis Ushakov
2014-11-28 11:45:24 +03:00
parent fa81eb1dda
commit 53d699d32e
@@ -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);
}