Cleaned up DeleteVnfNotification 83/86383/1
authorr.bogacki <r.bogacki@samsung.com>
Fri, 26 Apr 2019 10:37:14 +0000 (12:37 +0200)
committerr.bogacki <r.bogacki@samsung.com>
Fri, 26 Apr 2019 10:38:59 +0000 (12:38 +0200)
Cleaned up DeleteVnfNotification according to Sonar analyses.
Removed unnecessary code.

Change-Id: If8e35d29edb85ad4905a9373f0a820b5f7f07b72
Issue-ID: SO-1817
Signed-off-by: Robert Bogacki <r.bogacki@samsung.com>
bpmn/mso-infrastructure-bpmn/src/main/java/org/onap/so/bpmn/common/adapter/vnf/DeleteVnfNotification.java

index cd4257e..e0760b5 100644 (file)
@@ -4,6 +4,8 @@
  * ================================================================================
  * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
  * ================================================================================
+ * Modifications Copyright (c) 2019 Samsung
+ * ================================================================================
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
@@ -160,12 +162,4 @@ public class DeleteVnfNotification {
         return deleteVnfNotification;
     }
 
-    /*
-     * public String toString() { StringWriter writer = new StringWriter(); try { JAXBContext context = JAXBContext
-     * .newInstance(DeleteVnfNotification.class); Marshaller m = context.createMarshaller();
-     * m.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, Boolean.TRUE); m.marshal(this, writer);
-     * //System.out.println("toString() - " + writer.getBuffer().toString()); return writer.getBuffer().toString(); }
-     * catch (JAXBException e) { //System.out.println("JAXBException - " + e.getStackTrace()); return ""; } }
-     */
-
 }