mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-12-25 12:08:00 +01:00
[muc] Null-check GroupChatInviation's 'roomAddress' argument
This commit is contained in:
parent
711d7d92bd
commit
5e1cd62021
1 changed files with 2 additions and 1 deletions
|
@ -20,6 +20,7 @@ import javax.xml.namespace.QName;
|
|||
|
||||
import org.jivesoftware.smack.packet.ExtensionElement;
|
||||
import org.jivesoftware.smack.packet.Stanza;
|
||||
import org.jivesoftware.smack.util.Objects;
|
||||
import org.jivesoftware.smack.util.XmlStringBuilder;
|
||||
|
||||
import org.jxmpp.jid.EntityBareJid;
|
||||
|
@ -78,7 +79,7 @@ public class GroupChatInvitation implements ExtensionElement {
|
|||
* @param roomAddress the address of the group chat room.
|
||||
*/
|
||||
public GroupChatInvitation(EntityBareJid roomAddress) {
|
||||
this.roomAddress = roomAddress;
|
||||
this.roomAddress = Objects.requireNonNull(null);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue