From 4070779c3a035b7a6bc0bdcbeebe69df42abe94b Mon Sep 17 00:00:00 2001 From: Christof Rabensteiner Date: Mon, 7 Oct 2019 09:37:38 +0200 Subject: Resolve Sonarqube Findings --- .../java/at/gv/egiz/moazs/preprocess/DeliveryRequestAugmenter.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/main/java/at/gv/egiz/moazs/preprocess') diff --git a/src/main/java/at/gv/egiz/moazs/preprocess/DeliveryRequestAugmenter.java b/src/main/java/at/gv/egiz/moazs/preprocess/DeliveryRequestAugmenter.java index 320b0c3..a54e963 100644 --- a/src/main/java/at/gv/egiz/moazs/preprocess/DeliveryRequestAugmenter.java +++ b/src/main/java/at/gv/egiz/moazs/preprocess/DeliveryRequestAugmenter.java @@ -84,12 +84,10 @@ public class DeliveryRequestAugmenter { trace("Augmented config", augmentedConfig); - var augmentedRequest = deliveryRequestTypeBuilder(request) + return deliveryRequestTypeBuilder(request) .withConfig(augmentedConfig) .build(); - return augmentedRequest; - } private String determineProfileIdFrom(@Nullable ConfigType requestConfig) { -- cgit v1.2.3