From 63704f7bb9c165db823f57d5c6aeb2e64f838edf Mon Sep 17 00:00:00 2001 From: "r.bogacki" Date: Fri, 26 Apr 2019 12:37:14 +0200 Subject: Cleaned up DeleteVnfNotification Cleaned up DeleteVnfNotification according to Sonar analyses. Removed unnecessary code. Change-Id: If8e35d29edb85ad4905a9373f0a820b5f7f07b72 Issue-ID: SO-1817 Signed-off-by: Robert Bogacki --- .../onap/so/bpmn/common/adapter/vnf/DeleteVnfNotification.java | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'bpmn/mso-infrastructure-bpmn/src/main/java/org') diff --git a/bpmn/mso-infrastructure-bpmn/src/main/java/org/onap/so/bpmn/common/adapter/vnf/DeleteVnfNotification.java b/bpmn/mso-infrastructure-bpmn/src/main/java/org/onap/so/bpmn/common/adapter/vnf/DeleteVnfNotification.java index cd4257ec60..e0760b5d4a 100644 --- a/bpmn/mso-infrastructure-bpmn/src/main/java/org/onap/so/bpmn/common/adapter/vnf/DeleteVnfNotification.java +++ b/bpmn/mso-infrastructure-bpmn/src/main/java/org/onap/so/bpmn/common/adapter/vnf/DeleteVnfNotification.java @@ -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 ""; } } - */ - } -- cgit 1.2.3-korg