import java.util.Set;
public class LanguageDependenciesManager extends ModuleDependenciesManager<Language> {
public LanguageDependenciesManager(Language language) {
super(language);
}
<BUG>public Collection<Language> getAllExtendedLanguages() {
Set<Language> result = new LinkedHashSet<Language>();
collectAllExtendedLanguages(result);
return result;
}
private void collectAllExtendedLanguages(Set<Language> result) {
</BUG>
if (result.contains(myModule)) return;

import java.util.Set;
public class LanguageDependenciesManager extends ModuleDependenciesManager<Language> {
public LanguageDependenciesManager(Language language) {
super(language);
}
public void collectAllExtendedLanguages(Set<Language> result) {
if (result.contains(myModule)) return;
