Sonar Fix - added static for the fields 84/91084/1
authorMamtha <mamtha.sabesan@in.ibm.com>
Tue, 9 Jul 2019 11:43:28 +0000 (17:13 +0530)
committerMamtha <mamtha.sabesan@in.ibm.com>
Tue, 9 Jul 2019 11:45:22 +0000 (17:15 +0530)
Sonar Fix -  added static for the fields

Issue-ID: MUSIC-407
Change-Id: If9ce53f870381e10acf412163b409606ed128a5f
Signed-off-by: Mamtha <mamtha.sabesan@in.ibm.com>
src/main/java/org/onap/music/MusicApplication.java

index aa4de01..22c9e7b 100755 (executable)
@@ -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;