From e23e0182650a654e1f32bfb164a95e8b63219ee5 Mon Sep 17 00:00:00 2001 From: pwielebs Date: Tue, 25 Sep 2018 15:16:23 +0200 Subject: Fixing Sonar issues Change-Id: I67360cd501630adad8166c9278e9955c6be7758f Issue-ID: DCAEGEN2-835 Signed-off-by: pwielebs --- .../datafile/service/consumer/DmaapConsumerReactiveHttpClient.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'datafile-dmaap-client/src') diff --git a/datafile-dmaap-client/src/main/java/org/onap/dcaegen2/collectors/datafile/service/consumer/DmaapConsumerReactiveHttpClient.java b/datafile-dmaap-client/src/main/java/org/onap/dcaegen2/collectors/datafile/service/consumer/DmaapConsumerReactiveHttpClient.java index f32b22c4..c4bf1611 100644 --- a/datafile-dmaap-client/src/main/java/org/onap/dcaegen2/collectors/datafile/service/consumer/DmaapConsumerReactiveHttpClient.java +++ b/datafile-dmaap-client/src/main/java/org/onap/dcaegen2/collectors/datafile/service/consumer/DmaapConsumerReactiveHttpClient.java @@ -70,9 +70,7 @@ public class DmaapConsumerReactiveHttpClient { } private Consumer getHeaders() { - return httpHeaders -> { - httpHeaders.set(HttpHeaders.CONTENT_TYPE, contentType); - }; + return httpHeaders -> httpHeaders.set(HttpHeaders.CONTENT_TYPE, contentType); } private String createRequestPath() { -- cgit 1.2.3-korg