mirror of
https://github.com/hapifhir/hapi-fhir.git
synced 2025-02-08 22:14:50 +00:00
Fix NPE
This commit is contained in:
parent
8e060a05e0
commit
f6a913effe
@ -158,7 +158,13 @@ public class BulkDataExportSvcImpl implements IBulkDataExportSvc {
|
|||||||
}
|
}
|
||||||
private String getGroupIdIfPresent(String theRequestString) {
|
private String getGroupIdIfPresent(String theRequestString) {
|
||||||
Map<String, String[]> stringMap = UrlUtil.parseQueryString(theRequestString);
|
Map<String, String[]> stringMap = UrlUtil.parseQueryString(theRequestString);
|
||||||
return String.join(",", stringMap.get(JpaConstants.PARAM_EXPORT_GROUP_ID));
|
if (stringMap != null) {
|
||||||
|
String[] strings = stringMap.get(JpaConstants.PARAM_EXPORT_GROUP_ID);
|
||||||
|
if (strings != null) {
|
||||||
|
return String.join(",", strings);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user