diff options
author | Marcin Migdal <marcin.migdal@nokia.com> | 2018-09-14 14:14:03 +0200 |
---|---|---|
committer | Marcin Migdal <marcin.migdal@nokia.com> | 2018-09-14 15:07:41 +0200 |
commit | 00ec84dcfe64733fdf503f0ed92f61f77b6a1c07 (patch) | |
tree | 1c88a3eb55e5bb418845336af659011a634eb610 /test/mocks/pnfsimulator/src/main/java | |
parent | 856c8b960d127d1a425c70070c92406f9239c831 (diff) |
PNF Simulator SFTP support
Change-Id: If435a6540f7c8124fc8bbea7ad46a495ab087fda
Issue-ID: INT-607
Signed-off-by: Marcin Migdal <marcin.migdal@nokia.com>
Diffstat (limited to 'test/mocks/pnfsimulator/src/main/java')
-rw-r--r-- | test/mocks/pnfsimulator/src/main/java/org/onap/pnfsimulator/message/MessageProvider.java | 5 |
1 files changed, 2 insertions, 3 deletions
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<JSONObject> pnfRegistrationParams, - @Nonnull Optional<JSONObject> notificationParams) { + public JSONObject createMessage(JSONObject commonEventHeaderParams, Optional<JSONObject> pnfRegistrationParams, + Optional<JSONObject> notificationParams) { if (!pnfRegistrationParams.isPresent() && !notificationParams.isPresent()) { throw new IllegalArgumentException( |