diff options
author | Christof Rabensteiner <christof.rabensteiner@iaik.tugraz.at> | 2019-05-14 13:31:17 +0200 |
---|---|---|
committer | Christof Rabensteiner <christof.rabensteiner@iaik.tugraz.at> | 2019-05-14 13:31:17 +0200 |
commit | 1c252d7fc336831188c628ecdd39cd1b84b0cada (patch) | |
tree | 85a1ef5ff6cda3edd661e8d682337bb3511cddde /src/main/java | |
parent | 870439300e7596d6833644ec9e6d1f38a1e0b6b5 (diff) | |
download | moa-zs-1c252d7fc336831188c628ecdd39cd1b84b0cada.tar.gz moa-zs-1c252d7fc336831188c628ecdd39cd1b84b0cada.tar.bz2 moa-zs-1c252d7fc336831188c628ecdd39cd1b84b0cada.zip |
Minor Fixes: Remove Unused Imports; Fix of Error Message; Add TODO
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/at/gv/egiz/moazs/App2MzsService.java | 3 |
1 files changed, 2 insertions, 1 deletions
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)); } |