瀏覽代碼

Rebased

jftPR
Paul Schaub 2 年之前
父節點
當前提交
1894147a8a
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 62BEE9264BF17311
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      smack-extensions/src/main/java/org/jivesoftware/smackx/jingle/element/JingleElement.java

+ 1
- 1
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<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;


Loading…
取消
儲存