From a62841be9cc558c03a1f0b680f64540b73f3d599 Mon Sep 17 00:00:00 2001 From: Mamtha Date: Tue, 9 Jul 2019 17:13:28 +0530 Subject: Sonar Fix - added static for the fields Sonar Fix - added static for the fields Issue-ID: MUSIC-407 Change-Id: If9ce53f870381e10acf412163b409606ed128a5f Signed-off-by: Mamtha --- src/main/java/org/onap/music/MusicApplication.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/onap/music/MusicApplication.java b/src/main/java/org/onap/music/MusicApplication.java index aa4de01e..22c9e7bf 100755 --- a/src/main/java/org/onap/music/MusicApplication.java +++ b/src/main/java/org/onap/music/MusicApplication.java @@ -55,9 +55,9 @@ import org.springframework.web.context.request.RequestContextListener; @EnableScheduling public class MusicApplication extends SpringBootServletInitializer { - private final String KEYSPACE_PATTERN = "/v2/keyspaces/*"; - private final String LOCKS_PATTERN = "/v2/locks/*"; - private final String Q_PATTERN = "/v2/priorityq/*"; + private static final String KEYSPACE_PATTERN = "/v2/keyspaces/*"; + private static final String LOCKS_PATTERN = "/v2/locks/*"; + private static final String Q_PATTERN = "/v2/priorityq/*"; @Autowired private PropertiesLoader propertyLoader; -- cgit 1.2.3-korg