1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-15 16:52:07 +01:00
This commit is contained in:
Paul Schaub 2018-07-30 18:27:06 +02:00
parent 69a4cba19c
commit 1894147a8a
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311

View file

@ -70,7 +70,7 @@ public final class JingleElement extends IQ {
private JingleElement(String sessionId, JingleAction action, FullJid initiator, FullJid responder, JingleReasonElement reason,
List<JingleContentElement> 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;