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>
* @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