Revision ebdb4fa1
Added by Andreas Müller over 6 years ago
cdmlib-ext/src/main/java/eu/etaxonomy/cdm/ext/geo/EditGeoService.java | ||
---|---|---|
12 | 12 |
import java.io.IOException; |
13 | 13 |
import java.io.Reader; |
14 | 14 |
import java.util.ArrayList; |
15 |
import java.util.Arrays; |
|
15 | 16 |
import java.util.Collection; |
16 | 17 |
import java.util.EnumSet; |
17 | 18 |
import java.util.HashSet; |
... | ... | |
347 | 348 |
|
348 | 349 |
DistributionInfoDTO dto = new DistributionInfoDTO(); |
349 | 350 |
|
351 |
if (propertyPaths == null){ |
|
352 |
propertyPaths = Arrays.asList(new String []{}); |
|
353 |
} |
|
350 | 354 |
// Adding default initStrategies to improve the performance of this method |
351 | 355 |
// adding 'status' and 'area' has a good positive effect: |
352 | 356 |
// filterDistributions() only takes 21% of the total method time (before it was 46%) |
Also available in: Unified diff
fix potential NPE