From 1c252d7fc336831188c628ecdd39cd1b84b0cada Mon Sep 17 00:00:00 2001 From: Christof Rabensteiner Date: Tue, 14 May 2019 13:31:17 +0200 Subject: Minor Fixes: Remove Unused Imports; Fix of Error Message; Add TODO --- src/main/java/at/gv/egiz/moazs/App2MzsService.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/main') diff --git a/src/main/java/at/gv/egiz/moazs/App2MzsService.java b/src/main/java/at/gv/egiz/moazs/App2MzsService.java index 29b75ef..622f1dc 100644 --- a/src/main/java/at/gv/egiz/moazs/App2MzsService.java +++ b/src/main/java/at/gv/egiz/moazs/App2MzsService.java @@ -21,6 +21,7 @@ import static at.gv.zustellung.msg.xsd.DeliveryRequestStatusType.deliveryRequest import static java.lang.String.format; import static java.util.concurrent.CompletableFuture.supplyAsync; +//todo : validate Schema in both directions. @Service @SchemaValidation(type = SchemaValidation.SchemaValidationType.IN) public class App2MzsService implements App2MzsPortType { @@ -79,7 +80,7 @@ public class App2MzsService implements App2MzsPortType { pipeline.processRequest(appDeliveryID); return repository.getDeliveryRequestStatus(appDeliveryID) - .orElseThrow(() -> moaZSException("Could not get a response for AppDeliveryID=%s", appDeliveryID)); + .orElseThrow(() -> moaZSException("Could not get a response for AppDeliveryID=%s.", appDeliveryID)); } -- cgit v1.2.3