Project

General

Profile

« Previous | Next » 

Revision 905236e8

Added by Katja Luther over 4 years ago

ref #8385: adapt strucutre of db prefs to local prefs

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/selection/SelectionDialogFactory.java
176 176
		    else{
177 177
		        //if (parentElement == null){
178 178
		            List<UUID> uuidList = PreferencesUtil.createUUIDListFromStringPref(PreferencePredicate.AvailableDistributionAreaVocabularies.getKey());
179
		            UUID[] uuidArray = new UUID[uuidList.size()];
180
		            uuidList.toArray(uuidArray);
179
		            UUID[] uuidArray = null;
180
		            if (uuidList != null){
181
		                uuidArray = new UUID[uuidList.size()];
182
		                uuidList.toArray(uuidArray);
183

  
184
		            }
181 185
		            return (T)NamedAreaSelectionDialog.select(shell, (NamedArea) currentSelection, null, uuidArray);
186

  
187

  
188

  
182 189
		        //}
183 190
		        //return (T) NamedAreaSelectionDialog.select(shell, //conversation,
184 191
		        //        (NamedArea) currentSelection, parentElement.getClass().getCanonicalName());

Also available in: Unified diff