Project

General

Profile

« Previous | Next » 

Revision 222d6e76

Added by Patrick Plitzner over 7 years ago

ref #5616 Fix possible NPE for BulkEditor inputs

View differences:

eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/input/NameEditorInput.java
10 10

  
11 11
package eu.etaxonomy.taxeditor.bulkeditor.input;
12 12

  
13
import java.util.ArrayList;
14 13
import java.util.Arrays;
15 14
import java.util.List;
16 15
import java.util.UUID;
......
180 179

  
181 180
    }
182 181

  
182
	@Override
183
	protected TaxonNameBase loadEntity(UUID entityUuid) {
184
		List<String> propertyPaths = Arrays.asList(new String[]{});
185
		return CdmStore.getService(INameService.class).load(entityUuid, getPropertyPaths());
186
	}
187

  
188

  
183 189
    private List<String> getPropertyPaths(){
184 190
    	 List<String> nameBasePropertyPaths = Arrays.asList(new String[] {
185 191
    	 "name.descriptions",

Also available in: Unified diff