Skip to content

Commit

Permalink
[APHL-582] fix NPE
Browse files Browse the repository at this point in the history
  • Loading branch information
taha.attari@smilecdr.com committed Jan 12, 2024
1 parent 68d0f71 commit 62c1738
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -823,8 +823,8 @@ public Bundle createPackageBundle(IdType id, HapiFhirRepository hapiFhirReposito
Endpoint contentEndpoint, Endpoint terminologyEndpoint, Boolean packageOnly)
throws NotImplementedOperationException, UnprocessableEntityException, IllegalArgumentException {
if (
(!artifactRoute.isBlank() && !artifactRoute.isEmpty())
|| (!endpointUri.isBlank() && !endpointUri.isEmpty())
(artifactRoute != null && !artifactRoute.isBlank() && !artifactRoute.isEmpty())
|| (endpointUri != null && !endpointUri.isBlank() && !endpointUri.isEmpty())
|| contentEndpoint != null
|| terminologyEndpoint != null
) {
Expand Down

0 comments on commit 62c1738

Please sign in to comment.