aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristof Rabensteiner <christof.rabensteiner@iaik.tugraz.at>2019-05-28 11:09:10 +0200
committerChristof Rabensteiner <christof.rabensteiner@iaik.tugraz.at>2019-05-28 11:09:10 +0200
commit614b875a4f7b18a86348924d89325c0fe72b635b (patch)
tree2c14ee8f72451ca8fa4d447a07ef363c1196bcfe
parente1f365955aa22cdf8e44429af2b744388ce0c05b (diff)
downloadmoa-zs-614b875a4f7b18a86348924d89325c0fe72b635b.tar.gz
moa-zs-614b875a4f7b18a86348924d89325c0fe72b635b.tar.bz2
moa-zs-614b875a4f7b18a86348924d89325c0fe72b635b.zip
Remove Unused Imports
-rw-r--r--src/main/java/at/gv/egiz/moazs/msg/MsgClientFactory.java1
-rw-r--r--src/main/java/at/gv/egiz/moazs/mzs/MzsService.java2
-rw-r--r--src/main/java/at/gv/egiz/moazs/scheme/SOAPUtils.java1
-rw-r--r--src/main/java/at/gv/egiz/moazs/tnvz/TnvzClient.java11
4 files changed, 1 insertions, 14 deletions
diff --git a/src/main/java/at/gv/egiz/moazs/msg/MsgClientFactory.java b/src/main/java/at/gv/egiz/moazs/msg/MsgClientFactory.java
index 228ebec..c2cf34f 100644
--- a/src/main/java/at/gv/egiz/moazs/msg/MsgClientFactory.java
+++ b/src/main/java/at/gv/egiz/moazs/msg/MsgClientFactory.java
@@ -2,7 +2,6 @@ package at.gv.egiz.moazs.msg;
import at.gv.zustellung.app2mzs.xsd.ConfigType;
import at.gv.zustellung.msg.xsd.DeliveryRequestType;
-import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
@Component
diff --git a/src/main/java/at/gv/egiz/moazs/mzs/MzsService.java b/src/main/java/at/gv/egiz/moazs/mzs/MzsService.java
index 928e3d7..f4ecfdb 100644
--- a/src/main/java/at/gv/egiz/moazs/mzs/MzsService.java
+++ b/src/main/java/at/gv/egiz/moazs/mzs/MzsService.java
@@ -1,6 +1,5 @@
package at.gv.egiz.moazs.mzs;
-import at.gv.egiz.moazs.MoaZSException;
import at.gv.egiz.moazs.pipeline.DeliveryPipeline;
import at.gv.egiz.moazs.preprocess.DeliveryRequestAugmenter;
import at.gv.egiz.moazs.repository.DeliveryRepository;
@@ -22,7 +21,6 @@ import java.util.concurrent.TimeoutException;
import static at.gv.egiz.moazs.MoaZSException.moaZSException;
import static at.gv.egiz.moazs.MoaZSException.moaZSExceptionBuilder;
import static at.gv.zustellung.app2mzs.xsd.PartialSuccessType.partialSuccessTypeBuilder;
-import static java.lang.String.format;
import static java.util.concurrent.CompletableFuture.supplyAsync;
//todo : validate Schema in both directions.
diff --git a/src/main/java/at/gv/egiz/moazs/scheme/SOAPUtils.java b/src/main/java/at/gv/egiz/moazs/scheme/SOAPUtils.java
index b1c1909..eee1152 100644
--- a/src/main/java/at/gv/egiz/moazs/scheme/SOAPUtils.java
+++ b/src/main/java/at/gv/egiz/moazs/scheme/SOAPUtils.java
@@ -1,6 +1,5 @@
package at.gv.egiz.moazs.scheme;
-import at.gv.egiz.moazs.MoaZSException;
import at.gv.util.DOMUtils;
import org.apache.cxf.binding.soap.Soap11;
import org.springframework.stereotype.Component;
diff --git a/src/main/java/at/gv/egiz/moazs/tnvz/TnvzClient.java b/src/main/java/at/gv/egiz/moazs/tnvz/TnvzClient.java
index d4049fc..3efb564 100644
--- a/src/main/java/at/gv/egiz/moazs/tnvz/TnvzClient.java
+++ b/src/main/java/at/gv/egiz/moazs/tnvz/TnvzClient.java
@@ -1,21 +1,12 @@
package at.gv.egiz.moazs.tnvz;
-import at.gv.egiz.moazs.MoaZSException;
-import at.gv.zustellung.app2mzs.xsd.DeliveryRequestType;
-import at.gv.zustellung.app2mzs.xsd.DeliveryRequestType.Sender;
import at.gv.zustellung.app2mzs.xsd.DeliveryRequestType.Receiver;
+import at.gv.zustellung.app2mzs.xsd.DeliveryRequestType.Sender;
import at.gv.zustellung.tnvz.xsd.PersonResultSuccessType;
import at.gv.zustellung.tnvz.xsd.PersonResultType;
import at.gv.zustellung.tnvz.xsd.PersonResultType.PersonResultTypeBuilder;
import org.springframework.stereotype.Component;
-import java.util.Collection;
-import java.util.List;
-
-import static at.gv.egiz.moazs.MoaZSException.moaZSExceptionBuilder;
-import static java.lang.String.join;
-import static java.util.stream.Collectors.toSet;
-
@Component
public class TnvzClient {