From 836cf010366bf6103989488aaff92a2eedad24ef Mon Sep 17 00:00:00 2001 From: Christof Rabensteiner Date: Thu, 18 Jul 2019 09:54:39 +0200 Subject: Fix: Remove Hardcoded Version in Mzs2MsgConverter --- src/main/java/at/gv/egiz/moazs/scheme/Mzs2MsgConverter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main') diff --git a/src/main/java/at/gv/egiz/moazs/scheme/Mzs2MsgConverter.java b/src/main/java/at/gv/egiz/moazs/scheme/Mzs2MsgConverter.java index 9a00282..7dddbf1 100644 --- a/src/main/java/at/gv/egiz/moazs/scheme/Mzs2MsgConverter.java +++ b/src/main/java/at/gv/egiz/moazs/scheme/Mzs2MsgConverter.java @@ -53,7 +53,7 @@ public class Mzs2MsgConverter { private DeliveryRequestTypeBuilder setupBuilder(at.gv.zustellung.app2mzs.xsd.DeliveryRequestType mzsRequest) { return deliveryRequestTypeBuilder() - .withVersion("2.0.0") //todo: remove hardcoded version + .withVersion(NameSpace.MSG_VERSION) .withSender(convert(mzsRequest.getSender())) .withMetaData(mzsRequest.getMetaData()) .withAttachments(convertPayloads(mzsRequest.getPayload())); -- cgit v1.2.3