aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristof Rabensteiner <christof.rabensteiner@iaik.tugraz.at>2019-05-13 08:27:30 +0200
committerChristof Rabensteiner <christof.rabensteiner@iaik.tugraz.at>2019-05-13 08:27:30 +0200
commit87b364c76daae73a3c359b01c66feb6b15b5a457 (patch)
tree6ef45160ae0b3a17e204b6dc93b4907cd6a7ad80
parent5538f843ea7ffb214e6f63b46c3a37e3dde75f36 (diff)
downloadmoa-zs-87b364c76daae73a3c359b01c66feb6b15b5a457.tar.gz
moa-zs-87b364c76daae73a3c359b01c66feb6b15b5a457.tar.bz2
moa-zs-87b364c76daae73a3c359b01c66feb6b15b5a457.zip
Refactor: Autowire All Parameters Once Instead of Individually
-rw-r--r--src/main/java/at/gv/egiz/moazs/App2MzsService.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main/java/at/gv/egiz/moazs/App2MzsService.java b/src/main/java/at/gv/egiz/moazs/App2MzsService.java
index 09bcc63..036723c 100644
--- a/src/main/java/at/gv/egiz/moazs/App2MzsService.java
+++ b/src/main/java/at/gv/egiz/moazs/App2MzsService.java
@@ -35,8 +35,9 @@ public class App2MzsService implements App2MzsPortType {
private final Mzs2AppClient appClient;
private final DeliveryRequestAugmenter augmenter;
- public App2MzsService(@Autowired DeliveryRepository repository, @Autowired DeliveryPipeline pipeline,
- @Autowired Mzs2AppClient appClient, @Autowired DeliveryRequestAugmenter augmenter) {
+ @Autowired
+ public App2MzsService(DeliveryRepository repository, DeliveryPipeline pipeline, Mzs2AppClient appClient,
+ DeliveryRequestAugmenter augmenter) {
this.repository = repository;
this.pipeline = pipeline;
this.appClient = appClient;