Skip to content

Commit

Permalink
code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
hhund committed Feb 21, 2024
1 parent ad5cefd commit 7a09e0e
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -259,14 +259,14 @@ private Optional<OperationOutcome> checkReference(Resource resource, Connection
{
return switch (reference.getType(serverBase))
{
case LITERAL_INTERNAL, RELATED_ARTEFACT_LITERAL_INTERNAL_URL, ATTACHMENT_LITERAL_INTERNAL_URL -> referenceResolver
.checkLiteralInternalReference(resource, reference, connection);
case LITERAL_INTERNAL, RELATED_ARTEFACT_LITERAL_INTERNAL_URL, ATTACHMENT_LITERAL_INTERNAL_URL ->
referenceResolver.checkLiteralInternalReference(resource, reference, connection);

case LITERAL_EXTERNAL, RELATED_ARTEFACT_LITERAL_EXTERNAL_URL, ATTACHMENT_LITERAL_EXTERNAL_URL -> referenceResolver
.checkLiteralExternalReference(resource, reference);
case LITERAL_EXTERNAL, RELATED_ARTEFACT_LITERAL_EXTERNAL_URL, ATTACHMENT_LITERAL_EXTERNAL_URL ->
referenceResolver.checkLiteralExternalReference(resource, reference);

case LOGICAL -> referenceResolver.checkLogicalReference(getCurrentIdentity(), resource, reference,
connection);
case LOGICAL ->
referenceResolver.checkLogicalReference(getCurrentIdentity(), resource, reference, connection);

// unknown URLs to non FHIR servers in related artifacts must not be checked
case RELATED_ARTEFACT_UNKNOWN_URL, ATTACHMENT_UNKNOWN_URL -> Optional.empty();
Expand Down

0 comments on commit 7a09e0e

Please sign in to comment.