Sonar major issues 85/60285/1
authorSumapriya Sarvepalli <ss00493505@techmahindra.com>
Mon, 13 Aug 2018 11:12:51 +0000 (16:42 +0530)
committerSumapriya Sarvepalli <ss00493505@techmahindra.com>
Mon, 13 Aug 2018 11:12:51 +0000 (16:42 +0530)
 This block of commented-out lines of code should be removed
Sonar Link:
https://sonar.onap.org/project/issues?assignees=sumapriya&id=org.onap.portal.sdk%3Aepsdk-project&open=AV_om9wj-08if2a6uh0I&resolved=false
Location:
ecomp-sdk/ONAP Portal SDK Webapp/ Common/src/main/java/org/onap/portalapp/controller/sample/ElementModelController.java
Line No: L93

Change-Id: I8a65be83d724cdd1d468c2f04c154e4f61a3e924
Issue-ID: PORTAL-354
Signed-off-by: Sumapriya Sarvepalli <ss00493505@techmahindra.com>
ecomp-sdk/epsdk-app-common/src/main/java/org/onap/portalapp/controller/sample/ElementModelController.java

index 361a418..9588a7e 100644 (file)
@@ -89,18 +89,6 @@ public class ElementModelController extends RestrictedBaseController {
                return yamlString;
        }
 
-       /*
-       public ModelAndView callflowAdditional(HttpServletRequest request, HttpServletResponse response) throws Exception {
 
-               Map<String, Object> model = new HashMap<String, Object>();
-               String callFlowName = request.getParameter("callFlowName");
-               String callFlowStep = request.getParameter("callFlowStep");
-
-               ElementLinkService main = new ElementLinkService();
-               String yamlString = main.main2(new String[] { callFlowName, callFlowStep });
-               model.put("output_string", yamlString);
-               return new ModelAndView("data_out", "model", model);
-       }
-       */
 
 }