Issue #3099 - handle empty location name lists in the data request
Former-commit-id:dfd5e3dbad
[formerlyff21ef813c
] [formerly5eac78f0e0
] [formerlydfd5e3dbad
[formerlyff21ef813c
] [formerly5eac78f0e0
] [formerlya9b9a8b8c4
[formerly5eac78f0e0
[formerly 79603ec579d6ebcd1ef707f637e1b207ae18f803]]]] Former-commit-id:a9b9a8b8c4
Former-commit-id:5267bae3dd
[formerly4775dc1f40
] [formerly 766f5d140cfb513aced9899ffa7b673d5595123d [formerly2079aec2bb
]] Former-commit-id: e262c8f5f445fb2cdc7edc1447e80f9bd8e97f6e [formerlybf24af6980
] Former-commit-id:10a57d5299
This commit is contained in:
parent
425fdb1674
commit
3ec47319cc
1 changed files with 3 additions and 1 deletions
|
@ -66,6 +66,8 @@ import com.vividsolutions.jts.geom.Geometry;
|
|||
* Jul 15, 2013 2184 dhladky Remove all HUC's for storage except ALL
|
||||
* Aug,20, 2013 2250 mnash Change some methods that were not working in all cases
|
||||
* Jan,14, 2014 2667 mnash Remove getGridData method
|
||||
* May 1, 2014 3099 bkowal No longer use an empty pfaf list when the
|
||||
* data request locationNames list is empty.
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
|
@ -219,7 +221,7 @@ public class FFMPGeometryFactory extends AbstractDataPluginFactory {
|
|||
String[] locationNames = request.getLocationNames();
|
||||
|
||||
List<Long> pfafList = null;
|
||||
if (locationNames != null) {
|
||||
if (locationNames != null && locationNames.length > 0) {
|
||||
pfafList = convertLocations(locationNames);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue