From 00ec84dcfe64733fdf503f0ed92f61f77b6a1c07 Mon Sep 17 00:00:00 2001 From: Marcin Migdal Date: Fri, 14 Sep 2018 14:14:03 +0200 Subject: PNF Simulator SFTP support Change-Id: If435a6540f7c8124fc8bbea7ad46a495ab087fda Issue-ID: INT-607 Signed-off-by: Marcin Migdal --- .../src/main/java/org/onap/pnfsimulator/message/MessageProvider.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'test/mocks/pnfsimulator/src/main/java') diff --git a/test/mocks/pnfsimulator/src/main/java/org/onap/pnfsimulator/message/MessageProvider.java b/test/mocks/pnfsimulator/src/main/java/org/onap/pnfsimulator/message/MessageProvider.java index 4931c3b91..13114eefb 100644 --- a/test/mocks/pnfsimulator/src/main/java/org/onap/pnfsimulator/message/MessageProvider.java +++ b/test/mocks/pnfsimulator/src/main/java/org/onap/pnfsimulator/message/MessageProvider.java @@ -31,13 +31,12 @@ import static org.onap.pnfsimulator.message.MessageConstants.PNF_REGISTRATION_FI import java.util.Map; import java.util.Optional; -import javax.annotation.Nonnull; import org.json.JSONObject; public class MessageProvider { - public JSONObject createMessage(@Nonnull JSONObject commonEventHeaderParams,@Nonnull Optional pnfRegistrationParams, - @Nonnull Optional notificationParams) { + public JSONObject createMessage(JSONObject commonEventHeaderParams, Optional pnfRegistrationParams, + Optional notificationParams) { if (!pnfRegistrationParams.isPresent() && !notificationParams.isPresent()) { throw new IllegalArgumentException( -- cgit 1.2.3-korg