Sonar Major issue 89/57989/1
authorBharathS24 <BS00493532@techmahindra.com>
Mon, 30 Jul 2018 09:48:01 +0000 (15:18 +0530)
committerBharathS24 <BS00493532@techmahindra.com>
Mon, 30 Jul 2018 09:49:03 +0000 (15:19 +0530)
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 <BS00493532@techmahindra.com>
dcae-analytics-test/src/main/java/org/onap/dcae/apod/analytics/test/BaseDCAEAnalyticsCommonTest.java

index 6566051..ec29a98 100644 (file)
@@ -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