HealthMonitor sonar issues 82/90082/1
authorDominik Mizyn <d.mizyn@samsung.com>
Tue, 18 Jun 2019 12:46:23 +0000 (14:46 +0200)
committerDominik Mizyn <d.mizyn@samsung.com>
Tue, 18 Jun 2019 12:46:29 +0000 (14:46 +0200)
commit0722bf2fc95a1ccaabbc293dccc0d05ed0727b84
tree39c87c9fe90afcda3d9b19dae9b7465321441552
parent42fac09a9de610875a90e6eb8df58ea7b3c317f6
HealthMonitor sonar issues

Remove this unused "numIntervalsClusterNotHealthy" local variable.
Use "Long.parseLong" for this string-to-long conversion.
Make the enclosing method "static" or remove this set.
Change this instance-reference to a static reference.
Remove the literal "false" boolean value.
This block of commented-out lines of code should be removed.
Add the "@Override" annotation above this method signature

Issue-ID: PORTAL-647
Change-Id: I1880177f0906e6267807bbb9c0b7a81651e3c020
Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com>
ecomp-portal-BE-common/src/main/java/org/onap/portalapp/portal/controller/HealthCheckController.java
ecomp-portal-BE-common/src/main/java/org/onap/portalapp/portal/listener/HealthMonitor.java