From 3955e21857f73a28226707de4a788b18323aefeb Mon Sep 17 00:00:00 2001 From: BharathS24 Date: Mon, 30 Jul 2018 15:18:01 +0530 Subject: Sonar Major issue Add a private constructor to hide the implicit public one Sonar Link : https://sonar.onap.org/issues?myIssues=true&open=AWFSduHUof9FJ6jfXJeu&resolved=false Location : src/main/java/org/onap/dcae/apod/analytics/test/BaseDCAEAnalyticsCommonTest.java:L54 Change-Id: I7769333d66a58c93dfb5bd31fddff3a6c5fc58a0 Issue-ID: DCAEGEN2-648 Signed-off-by: BharathS24 --- .../dcae/apod/analytics/test/BaseDCAEAnalyticsCommonTest.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dcae-analytics-test/src/main/java/org/onap/dcae/apod/analytics/test/BaseDCAEAnalyticsCommonTest.java b/dcae-analytics-test/src/main/java/org/onap/dcae/apod/analytics/test/BaseDCAEAnalyticsCommonTest.java index 6566051..ec29a98 100644 --- a/dcae-analytics-test/src/main/java/org/onap/dcae/apod/analytics/test/BaseDCAEAnalyticsCommonTest.java +++ b/dcae-analytics-test/src/main/java/org/onap/dcae/apod/analytics/test/BaseDCAEAnalyticsCommonTest.java @@ -52,10 +52,10 @@ import static java.nio.file.Files.exists; * @author Rajiv Singla . Creation Date: 10/19/2016. */ abstract class BaseDCAEAnalyticsCommonTest { - - protected static final Logger LOG = LoggerFactory.getLogger(BaseDCAEAnalyticsCommonTest.class); - - /** +protected static final Logger LOG = LoggerFactory.getLogger(BaseDCAEAnalyticsCommonTest.class); +protected BaseDCAEAnalyticsCommonTest() { +} + /** * Asserts if expected Json String and actual Json String contain the same properties ignoring * property order. Simple String assertion might fail as property order during serialization and deserialization * is generally non-deterministic. Also proper error message are generated more missing or unexpected -- cgit 1.2.3-korg