diff options
author | BharathS24 <BS00493532@techmahindra.com> | 2018-07-30 15:18:01 +0530 |
---|---|---|
committer | BharathS24 <BS00493532@techmahindra.com> | 2018-07-30 15:19:03 +0530 |
commit | 3955e21857f73a28226707de4a788b18323aefeb (patch) | |
tree | 5b17be55669969928933d88132962596a1d1e241 /dcae-analytics-test/src/main/java/org | |
parent | 33617314a1f6dd4b76c956219717beb335763ac7 (diff) |
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 <BS00493532@techmahindra.com>
Diffstat (limited to 'dcae-analytics-test/src/main/java/org')
-rw-r--r-- | dcae-analytics-test/src/main/java/org/onap/dcae/apod/analytics/test/BaseDCAEAnalyticsCommonTest.java | 8 |
1 files 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 |