code cleaning
[taxeditor.git] / eu.etaxonomy.taxeditor.store / src / main / java / eu / etaxonomy / taxeditor / ui / dialog / selection / SelectionDialogFactory.java
index ceeaf47aa13f48976fe4c9dff4250393346c56e9..295021ae79db6fa80a6be63a18b8a5ffcfdd0689 100644 (file)
@@ -174,7 +174,7 @@ public class SelectionDialogFactory {
                         (NamedArea) currentSelection, parentElement.getClass().getCanonicalName());\r
             }\r
                    else{\r
-                       //if (parentElement == null){\r
+\r
                            List<UUID> uuidList = PreferencesUtil.createUUIDListFromStringPref(PreferencePredicate.AvailableDistributionAreaVocabularies.getKey(), false);\r
                            UUID[] uuidArray = null;\r
                            if (uuidList != null){\r
@@ -184,11 +184,6 @@ public class SelectionDialogFactory {
                            }\r
                            return (T)NamedAreaSelectionDialog.select(shell, (NamedArea) currentSelection, null, uuidArray);\r
 \r
-\r
-\r
-                       //}\r
-                       //return (T) NamedAreaSelectionDialog.select(shell, //conversation,\r
-                       //        (NamedArea) currentSelection, parentElement.getClass().getCanonicalName());\r
                    }\r
                }\r
                if(clazz.equals(Collection.class)){\r