diff options
author | Pamela Dragosh <pdragosh@research.att.com> | 2018-10-01 20:42:36 -0400 |
---|---|---|
committer | Pamela Dragosh <pdragosh@research.att.com> | 2018-10-01 20:42:42 -0400 |
commit | 98bf012459c846d1c3906a5d1ead73cf26b8e195 (patch) | |
tree | 5f309d4ff08067b90195afbcfd986d1c67305930 /controlloop/common/feature-controlloop-trans | |
parent | 320ff21040c901d4886fdfabdbc2708e3877a37c (diff) |
Fix remaining sonar
Mostly moving variables to their right spot.
Issue-ID: POLICY-1129
Change-Id: Iccc084bbb404ffd51bdd0b26b5f8c373c6142fb1
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Diffstat (limited to 'controlloop/common/feature-controlloop-trans')
-rw-r--r-- | controlloop/common/feature-controlloop-trans/src/main/java/org/onap/policy/drools/apps/controlloop/feature/trans/ControlLoopMetrics.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/controlloop/common/feature-controlloop-trans/src/main/java/org/onap/policy/drools/apps/controlloop/feature/trans/ControlLoopMetrics.java b/controlloop/common/feature-controlloop-trans/src/main/java/org/onap/policy/drools/apps/controlloop/feature/trans/ControlLoopMetrics.java index 790d434fd..909fa934f 100644 --- a/controlloop/common/feature-controlloop-trans/src/main/java/org/onap/policy/drools/apps/controlloop/feature/trans/ControlLoopMetrics.java +++ b/controlloop/common/feature-controlloop-trans/src/main/java/org/onap/policy/drools/apps/controlloop/feature/trans/ControlLoopMetrics.java @@ -48,6 +48,11 @@ import org.slf4j.LoggerFactory; public interface ControlLoopMetrics { /** + * Singleton manager object. + */ + ControlLoopMetrics manager = new CacheBasedControlLoopMetricsManager(); + + /** * Gets all transaction identifiers being monitored. * * @return transaction id list @@ -131,11 +136,6 @@ public interface ControlLoopMetrics { * Refresh underlying transaction management. */ void refresh(); - - /** - * Singleton manager object. - */ - ControlLoopMetrics manager = new CacheBasedControlLoopMetricsManager(); } |