aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristof Rabensteiner <christof.rabensteiner@iaik.tugraz.at>2019-07-18 09:54:39 +0200
committerChristof Rabensteiner <christof.rabensteiner@iaik.tugraz.at>2019-07-18 09:54:39 +0200
commit836cf010366bf6103989488aaff92a2eedad24ef (patch)
treec50f629ac7c8a8a6fec28b9d71eca7e3a632d4f2
parent316857ca9ac3b22b176f17b6e0fd9850cf077cb6 (diff)
downloadmoa-zs-836cf010366bf6103989488aaff92a2eedad24ef.tar.gz
moa-zs-836cf010366bf6103989488aaff92a2eedad24ef.tar.bz2
moa-zs-836cf010366bf6103989488aaff92a2eedad24ef.zip
Fix: Remove Hardcoded Version in Mzs2MsgConverter
-rw-r--r--src/main/java/at/gv/egiz/moazs/scheme/Mzs2MsgConverter.java2
1 files changed, 1 insertions, 1 deletions
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()));