diff options
author | Jim Hahn <jrh3@att.com> | 2018-08-16 14:57:15 -0400 |
---|---|---|
committer | Jim Hahn <jrh3@att.com> | 2018-08-17 10:23:28 -0400 |
commit | 48eb8e2bd1674592ddfadfbbc01a611b6a263393 (patch) | |
tree | 76a8e093afee41e5623aac7a490d3ebe05664176 /controlloop/packages | |
parent | a9b2b1d16797fefa4c7be8ba0bf01f0fdab22b7b (diff) |
fix new sonar issues with prov-status check
Changes made while adding the prov-status check triggered some sonar
thresholds in ControlLoopEventManager. Updated the code to resolve
them. One of the changes that had been introduced was to check for
the existence of both the is-closed-loop-disabled AND the prov-status
fields. However, if one is there then the other should be there, thus
the second check is redundant and was removed, which should reduce the
cyclomatic complexity back under the threshold.
Re-ordered the code a little, to make it less ambiguous.
Removed trailing white space.
Change-Id: If0ce74cedbf947c32cae3df3374cda6ba1305cd2
Issue-ID: POLICY-964
Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'controlloop/packages')
0 files changed, 0 insertions, 0 deletions