From 42a46def20ac8e3cb8c7a298963414d70155e964 Mon Sep 17 00:00:00 2001 From: Sumapriya Sarvepalli Date: Tue, 24 Jul 2018 13:01:55 +0530 Subject: Sonar major issues This block of commented-out lines of code should be removed Sonar Link: https://sonar.onap.org/project/issues?id=org.onap.so%3Aso&open=AWHCr-Y0EU5FCDfKtmG_&resolved=false&severities=MAJOR Location: src/main/java/org/openecomp/mso/adapters/sdnc/SDNCAdapterService.java Line No: L58 Change-Id: I5665a41ea85a5464d1c5fb208f20be725fe044d7 Issue-ID: SO-738 Signed-off-by: Sumapriya Sarvepalli --- .../main/java/org/openecomp/mso/adapters/sdnc/SDNCAdapterService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'adapters/mso-sdnc-adapter/src/main/java/org/openecomp') diff --git a/adapters/mso-sdnc-adapter/src/main/java/org/openecomp/mso/adapters/sdnc/SDNCAdapterService.java b/adapters/mso-sdnc-adapter/src/main/java/org/openecomp/mso/adapters/sdnc/SDNCAdapterService.java index c7f844bb4c..7aa734e45e 100644 --- a/adapters/mso-sdnc-adapter/src/main/java/org/openecomp/mso/adapters/sdnc/SDNCAdapterService.java +++ b/adapters/mso-sdnc-adapter/src/main/java/org/openecomp/mso/adapters/sdnc/SDNCAdapterService.java @@ -55,7 +55,7 @@ public class SDNCAdapterService extends Service { URL wsdlUrl = null; try { wsdlUrl = Thread.currentThread().getContextClassLoader().getResource("main/resources/SDNCAdapter.wsdl"); - //wsdlUrl = SDNCAdapterService.class.getClassLoader().getResource("SDNCAdapter.wsdl"); + } catch (Exception e) { logger.error(MessageEnum.RA_WSDL_NOT_FOUND, "SDNCAdapter.wsdl", "", "", MsoLogger.ErrorCode.DataError, "Exception - WSDL not found", e); } -- cgit 1.2.3-korg