From 1894147a8a2a2ee2a3d9a1031ad5335e39dfe5fe Mon Sep 17 00:00:00 2001 From: Paul Schaub Date: Mon, 30 Jul 2018 18:27:06 +0200 Subject: [PATCH] Rebased --- .../org/jivesoftware/smackx/jingle/element/JingleElement.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smack-extensions/src/main/java/org/jivesoftware/smackx/jingle/element/JingleElement.java b/smack-extensions/src/main/java/org/jivesoftware/smackx/jingle/element/JingleElement.java index c10027217..a11e80faa 100644 --- a/smack-extensions/src/main/java/org/jivesoftware/smackx/jingle/element/JingleElement.java +++ b/smack-extensions/src/main/java/org/jivesoftware/smackx/jingle/element/JingleElement.java @@ -70,7 +70,7 @@ public final class JingleElement extends IQ { private JingleElement(String sessionId, JingleAction action, FullJid initiator, FullJid responder, JingleReasonElement reason, List contents) { super(ELEMENT, NAMESPACE); - this.sessionId = StringUtils.requireNotNullOrEmpty(sessionId, "Jingle session ID must not be null"); + this.sessionId = StringUtils.requireNotNullNorEmpty(sessionId, "Jingle session ID must not be null"); this.action = Objects.requireNonNull(action, "Jingle action must not be null"); this.initiator = initiator; this.responder = responder;