Skip to content

Commit

Permalink
fix code style
Browse files Browse the repository at this point in the history
  • Loading branch information
epicsoft-llc committed Sep 22, 2021
1 parent 79bc250 commit 73b7f81
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@ public ValidationServiceStatusResponse determineStatus(final String subject) {
final String serviceId = subjectResponse.getServiceIdUsed();
log.debug("Receive service ID (encoded) from booking service '{}'", serviceId);
if (serviceId == null || serviceId.isBlank()) {
throw new DccException(String.format("Subject without service ID '%s'", serviceId), HttpStatus.NO_CONTENT.value());
throw new DccException(String.format("Subject without service ID '%s'", serviceId),
HttpStatus.NO_CONTENT.value());
}

final String decodedServiceId = new String(Base64.getUrlDecoder().decode(serviceId), StandardCharsets.UTF_8);
Expand Down

0 comments on commit 73b7f81

Please sign in to comment.