Sonar Fix - RaptorServiceImpl.java - Move this variable to comply with Java Code... 70/93470/1
authordinesha <dineshgs@in.ibm.com>
Mon, 12 Aug 2019 10:42:41 +0000 (16:12 +0530)
committerManoop Talasila <talasila@research.att.com>
Tue, 13 Aug 2019 18:30:41 +0000 (18:30 +0000)
Fixed sonar issues across the file

Issue-ID: PORTAL-686
Change-Id: Idd0b20c3b029bef742594f42a22686520d12c68e
Signed-off-by: dinesha <dineshgs@in.ibm.com>
(cherry picked from commit d563b663c284c96fa03718573b172841b7f63b06)

ecomp-sdk/epsdk-analytics/src/main/java/org/onap/portalsdk/analytics/system/fusion/service/RaptorServiceImpl.java

index a35387b..f286c64 100644 (file)
@@ -49,6 +49,8 @@ public class RaptorServiceImpl extends FusionService implements RaptorService {
 
        private DataAccessService dataAccessService;
        
+       private ApplicationContext applicationContext;
+       
        private int totalSize;
 
        public DataAccessService getDataAccessService() {
@@ -59,7 +61,6 @@ public class RaptorServiceImpl extends FusionService implements RaptorService {
                this.dataAccessService = dataAccessService;
        }
        
-       private ApplicationContext applicationContext;
 
     //raptorSearchAllReportsCount