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/UserEditorInput.java
10 10

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

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

  
15 17
import eu.etaxonomy.cdm.api.service.IUserService;
16 18
import eu.etaxonomy.cdm.api.service.config.IIdentifiableEntityServiceConfigurator;
......
121 123
    public void merge() {
122 124

  
123 125
    }
126
    
127

  
128
	@Override
129
	protected User loadEntity(UUID entityUuid) {
130
		List<String> propertyPaths = Arrays.asList(new String[]{});
131
		return CdmStore.getService(IUserService.class).load(entityUuid, propertyPaths);
132
	}
133

  
124 134

  
125 135

  
126 136
}

Also available in: Unified diff