From 9f2d3a7605e0a57b224c0ce3c5f63c0eb3ef0043 Mon Sep 17 00:00:00 2001 From: Hari Om Verma Date: Tue, 27 Mar 2018 12:49:26 +0530 Subject: Sonar Issues for ExternalAppInitializer.java Minor and Major Sonar issues for ExternalAppInitializer.java Change-Id: I2673a13f73e88acc970c6aa64431f8124cf068cf Issue-ID: PORTAL-227 Signed-off-by: Hari Om Verma --- .../main/java/org/onap/portalapp/conf/ExternalAppInitializer.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'ecomp-portal-BE-os') diff --git a/ecomp-portal-BE-os/src/main/java/org/onap/portalapp/conf/ExternalAppInitializer.java b/ecomp-portal-BE-os/src/main/java/org/onap/portalapp/conf/ExternalAppInitializer.java index 62051b1d..1c3c5ceb 100644 --- a/ecomp-portal-BE-os/src/main/java/org/onap/portalapp/conf/ExternalAppInitializer.java +++ b/ecomp-portal-BE-os/src/main/java/org/onap/portalapp/conf/ExternalAppInitializer.java @@ -51,11 +51,7 @@ public class ExternalAppInitializer extends AppInitializer{ @Override protected Class[] getServletConfigClasses() { -// Class[] configClasses = super.getServletConfigClasses(); -// Class[] additionalConfigClasses = Arrays.copyOf(configClasses, configClasses.length); -// addConfigClass(additionalConfigClasses, ExternalAppConfig.class); -// return additionalConfigClasses; -// + return new Class[] {ExternalAppConfig.class}; } -- cgit 1.2.3-korg