diff options
author | Christof Rabensteiner <christof.rabensteiner@iaik.tugraz.at> | 2019-10-07 09:37:38 +0200 |
---|---|---|
committer | Christof Rabensteiner <christof.rabensteiner@iaik.tugraz.at> | 2019-10-07 09:37:38 +0200 |
commit | 4070779c3a035b7a6bc0bdcbeebe69df42abe94b (patch) | |
tree | 151d276d058b157bfdf8a6ee9cbdb0ac109de3a9 /src/main/java/at/gv/egiz/moazs/service | |
parent | 5848ddf9b6145aeaec8b9cb9f7fabf0cb7d8c5ea (diff) | |
download | moa-zs-4070779c3a035b7a6bc0bdcbeebe69df42abe94b.tar.gz moa-zs-4070779c3a035b7a6bc0bdcbeebe69df42abe94b.tar.bz2 moa-zs-4070779c3a035b7a6bc0bdcbeebe69df42abe94b.zip |
Resolve Sonarqube Findings
Diffstat (limited to 'src/main/java/at/gv/egiz/moazs/service')
-rw-r--r-- | src/main/java/at/gv/egiz/moazs/service/MzsService.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/at/gv/egiz/moazs/service/MzsService.java b/src/main/java/at/gv/egiz/moazs/service/MzsService.java index 9d7cdb1..d9c81f3 100644 --- a/src/main/java/at/gv/egiz/moazs/service/MzsService.java +++ b/src/main/java/at/gv/egiz/moazs/service/MzsService.java @@ -62,7 +62,7 @@ public class MzsService implements App2MzsPortType { "with AppDeliveryID=%s."; private static final String RESPONSE_MISSING_ERROR_MSG = "Could not get a response for AppDeliveryID=%s."; private static final String SERVICE_TIME_OUT_REACHED_MSG = "Backend processing for DeliveryRequest with " + - "AppDeliveryID=%s timed out. "; + "AppDeliveryID={} timed out. "; private final DeliveryRepository repository; private final Consumer<String> backend; @@ -136,7 +136,7 @@ public class MzsService implements App2MzsPortType { private DeliveryResponseType applySinkHubToAsyncResponse(String appDeliveryID, DeliveryRequestType request, CompletableFuture<RequestStatusResponse> requestProcessed) { - log.info(format(SERVICE_TIME_OUT_REACHED_MSG, appDeliveryID)); + log.info(SERVICE_TIME_OUT_REACHED_MSG, appDeliveryID); var sinkParams = request.getConfig().getMsgResponseSinks(); requestProcessed.thenAcceptAsync(response -> hub.applySinks(response, sinkParams)); |