From 98bf012459c846d1c3906a5d1ead73cf26b8e195 Mon Sep 17 00:00:00 2001 From: Pamela Dragosh Date: Mon, 1 Oct 2018 20:42:36 -0400 Subject: Fix remaining sonar Mostly moving variables to their right spot. Issue-ID: POLICY-1129 Change-Id: Iccc084bbb404ffd51bdd0b26b5f8c373c6142fb1 Signed-off-by: Pamela Dragosh --- .../apps/controlloop/feature/trans/ControlLoopMetrics.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'controlloop/common/feature-controlloop-trans/src/main/java') 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 @@ -47,6 +47,11 @@ import org.slf4j.LoggerFactory; */ public interface ControlLoopMetrics { + /** + * Singleton manager object. + */ + ControlLoopMetrics manager = new CacheBasedControlLoopMetricsManager(); + /** * Gets all transaction identifiers being monitored. * @@ -131,11 +136,6 @@ public interface ControlLoopMetrics { * Refresh underlying transaction management. */ void refresh(); - - /** - * Singleton manager object. - */ - ControlLoopMetrics manager = new CacheBasedControlLoopMetricsManager(); } -- cgit 1.2.3-korg