From 013cd547c4fdafa16450863c043e5969b268351d Mon Sep 17 00:00:00 2001 From: rama-huawei Date: Wed, 27 Sep 2017 15:52:13 +0530 Subject: Replaced with the diamnod operator Issue-Id:SO-118 Change-Id: Iaad28a363586cd8b42e86bd7e854faa9e716c59d Signed-off-by: rama-huawei --- .../MSOCommonBPMN/src/main/java/org/openecomp/mso/client/sdno/SDNO.java | 2 +- .../src/main/java/org/openecomp/mso/client/sdno/SDNOValidator.java | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'bpmn/MSOCommonBPMN/src/main/java/org') diff --git a/bpmn/MSOCommonBPMN/src/main/java/org/openecomp/mso/client/sdno/SDNO.java b/bpmn/MSOCommonBPMN/src/main/java/org/openecomp/mso/client/sdno/SDNO.java index c634164b59..7d794ac608 100644 --- a/bpmn/MSOCommonBPMN/src/main/java/org/openecomp/mso/client/sdno/SDNO.java +++ b/bpmn/MSOCommonBPMN/src/main/java/org/openecomp/mso/client/sdno/SDNO.java @@ -28,7 +28,7 @@ public class SDNO implements Serializable @JsonProperty("body") private Body body; @JsonIgnore - private Map additionalProperties = new HashMap(); + private Map additionalProperties = new HashMap<>(); private final static long serialVersionUID = -5303297382564282650L; @JsonProperty("operation") diff --git a/bpmn/MSOCommonBPMN/src/main/java/org/openecomp/mso/client/sdno/SDNOValidator.java b/bpmn/MSOCommonBPMN/src/main/java/org/openecomp/mso/client/sdno/SDNOValidator.java index be63feef05..c2b3d3e736 100644 --- a/bpmn/MSOCommonBPMN/src/main/java/org/openecomp/mso/client/sdno/SDNOValidator.java +++ b/bpmn/MSOCommonBPMN/src/main/java/org/openecomp/mso/client/sdno/SDNOValidator.java @@ -2,6 +2,7 @@ package org.openecomp.mso.client.sdno; import java.io.IOException; +@FunctionalInterface public interface SDNOValidator { void healthDiagnostic(String vnfName, String uuid) throws IOException, Exception; -- cgit 1.2.3-korg