aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/gv/egiz/moazs/scheme
diff options
context:
space:
mode:
authorChristof Rabensteiner <christof.rabensteiner@iaik.tugraz.at>2019-05-08 15:02:17 +0200
committerChristof Rabensteiner <christof.rabensteiner@iaik.tugraz.at>2019-05-08 15:10:57 +0200
commit1c4112e016dbd0a0378c947d556f880c447ffa90 (patch)
treebc444bf72c724a57f70928f2ce781bc30d0982b5 /src/main/java/at/gv/egiz/moazs/scheme
parentabb3eb3a21cace569620e11d06273409aca9a747 (diff)
downloadmoa-zs-1c4112e016dbd0a0378c947d556f880c447ffa90.tar.gz
moa-zs-1c4112e016dbd0a0378c947d556f880c447ffa90.tar.bz2
moa-zs-1c4112e016dbd0a0378c947d556f880c447ffa90.zip
WIP delivery request validation
Diffstat (limited to 'src/main/java/at/gv/egiz/moazs/scheme')
-rw-r--r--src/main/java/at/gv/egiz/moazs/scheme/Mzs2MsgConverter.java3
1 files changed, 0 insertions, 3 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 912ee4f..f7157da 100644
--- a/src/main/java/at/gv/egiz/moazs/scheme/Mzs2MsgConverter.java
+++ b/src/main/java/at/gv/egiz/moazs/scheme/Mzs2MsgConverter.java
@@ -72,9 +72,6 @@ public class Mzs2MsgConverter {
private JAXBElement<? extends AbstractSenderPersonType> extractSenderPerson(at.gv.zustellung.app2mzs.xsd.DeliveryRequestType.Sender sender) {
- Assert.isTrue(sender.getSenderProfile() != null || sender.getCorporateBody() != null,
- "Neither SenderProfile nor CorporateBody are given");
-
var builder = senderCorporateBodyTypeBuilder();
if(sender.getSenderProfile() != null) {