diff options
author | r.bogacki <r.bogacki@samsung.com> | 2019-04-26 12:37:14 +0200 |
---|---|---|
committer | r.bogacki <r.bogacki@samsung.com> | 2019-04-26 12:38:59 +0200 |
commit | 63704f7bb9c165db823f57d5c6aeb2e64f838edf (patch) | |
tree | c659248ce83be291246620fe4e0f52b13a6f6374 /bpmn/mso-infrastructure-bpmn/src/main/java/org | |
parent | e99a36d42af5eb7e7a756a1e0e618a15c3169b2b (diff) |
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 <r.bogacki@samsung.com>
Diffstat (limited to 'bpmn/mso-infrastructure-bpmn/src/main/java/org')
-rw-r--r-- | bpmn/mso-infrastructure-bpmn/src/main/java/org/onap/so/bpmn/common/adapter/vnf/DeleteVnfNotification.java | 10 |
1 files changed, 2 insertions, 8 deletions
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 ""; } } - */ - } |