mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-12-12 05:51:08 +01:00
requireNotNullOrEmpty -> requireNotNullNorEmpty
This commit is contained in:
parent
cf2b3ef634
commit
74bebc13e6
32 changed files with 82 additions and 52 deletions
|
|
@ -288,7 +288,7 @@ public class Bytestream extends IQ {
|
|||
*/
|
||||
public StreamHost(final Jid JID, final String address, int port) {
|
||||
this.JID = Objects.requireNonNull(JID, "StreamHost JID must not be null");
|
||||
this.addy = StringUtils.requireNotNullOrEmpty(address, "StreamHost address must not be null");
|
||||
this.addy = StringUtils.requireNotNullNorEmpty(address, "StreamHost address must not be null");
|
||||
this.port = port;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue