Fix duplicated named areas vocabularies in dialog (see also #3843)
authorAndreas Müller <a.mueller@bgbm.org>
Mon, 4 Nov 2013 13:28:10 +0000 (13:28 +0000)
committerAndreas Müller <a.mueller@bgbm.org>
Mon, 4 Nov 2013 13:28:10 +0000 (13:28 +0000)
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/selection/NamedAreaSelectionDialog.java

index a277cab34a4e547aeea7dab20cc7864fb8177856..db440361160a8f46ebd511e98c725040c951eb09 100644 (file)
@@ -135,10 +135,7 @@ public class NamedAreaSelectionDialog extends
 
        private List<TermVocabulary<NamedArea>> getVocabularies(){
                List<TermVocabulary<NamedArea>> vocabularies = CdmStore.getService(IVocabularyService.class).listByTermClass(NamedArea.class, null, null, null, null);
-               vocabularies.add(CdmStore.getService(IVocabularyService.class).find(NamedArea.uuidTdwgAreaVocabulary));
                vocabularies.add(CdmStore.getService(IVocabularyService.class).find(Country.uuidCountryVocabulary));
-               vocabularies.add(CdmStore.getService(IVocabularyService.class).find(NamedArea.uuidWaterbodyVocabulary));
-               vocabularies.add(CdmStore.getService(IVocabularyService.class).find(NamedArea.uuidContinentVocabulary));
                return vocabularies;
        }