From 87b364c76daae73a3c359b01c66feb6b15b5a457 Mon Sep 17 00:00:00 2001 From: Christof Rabensteiner Date: Mon, 13 May 2019 08:27:30 +0200 Subject: Refactor: Autowire All Parameters Once Instead of Individually --- src/main/java/at/gv/egiz/moazs/App2MzsService.java | 5 +++-- 1 file 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; -- cgit v1.2.3