From d312eaf616aaf0ca15557d935ec1b41e84ced3cc Mon Sep 17 00:00:00 2001 From: Jim Hahn Date: Wed, 31 Jan 2018 17:16:13 -0500 Subject: Fix sonar code issues for api-state-management Renamed constants, adding "DO_" prefix or "_STATE" suffix. Removed spurious exceptions from "throws" clauses. Change-Id: I0abd74d736009480614f0653fe5aaf1ddbe77b08 Issue-ID: POLICY-468 Signed-off-by: Jim Hahn --- .../onap/policy/drools/activestandby/DroolsPdpsElectionHandler.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'feature-active-standby-management') diff --git a/feature-active-standby-management/src/main/java/org/onap/policy/drools/activestandby/DroolsPdpsElectionHandler.java b/feature-active-standby-management/src/main/java/org/onap/policy/drools/activestandby/DroolsPdpsElectionHandler.java index 13348c78..2836f92f 100644 --- a/feature-active-standby-management/src/main/java/org/onap/policy/drools/activestandby/DroolsPdpsElectionHandler.java +++ b/feature-active-standby-management/src/main/java/org/onap/policy/drools/activestandby/DroolsPdpsElectionHandler.java @@ -955,7 +955,7 @@ public class DroolsPdpsElectionHandler implements ThreadRunningChecker { logger.debug("checkWaitTimer: calling allSeemsWell with ALLNOTWELL param"); } stateManagementFeature.allSeemsWell(this.getClass().getName(), - StateManagementFeatureAPI.ALLNOTWELL, + StateManagementFeatureAPI.ALLNOTWELL_STATE, "DesignationWaiter/ElectionHandler has STALLED"); } logger.error("checkWaitTimer: nowMs - waitTimerMs = {}" @@ -964,7 +964,7 @@ public class DroolsPdpsElectionHandler implements ThreadRunningChecker { }else if(allSeemsWell==null || !allSeemsWell){ allSeemsWell = true; stateManagementFeature.allSeemsWell(this.getClass().getName(), - StateManagementFeatureAPI.ALLSEEMSWELL, + StateManagementFeatureAPI.ALLSEEMSWELL_STATE, "DesignationWaiter/ElectionHandler has RESUMED"); logger.info("DesignationWaiter/ElectionHandler has RESUMED"); } -- cgit 1.2.3-korg