mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-12-14 06:51:08 +01:00
requireNotNullOrEmpty -> requireNotNullNorEmpty
This commit is contained in:
parent
cf2b3ef634
commit
74bebc13e6
32 changed files with 82 additions and 52 deletions
|
|
@ -68,8 +68,8 @@ public class Version extends IQ {
|
|||
public Version(String name, String version, String os) {
|
||||
super(ELEMENT, NAMESPACE);
|
||||
this.setType(IQ.Type.result);
|
||||
this.name = StringUtils.requireNotNullOrEmpty(name, "name must not be null");
|
||||
this.version = StringUtils.requireNotNullOrEmpty(version, "version must not be null");
|
||||
this.name = StringUtils.requireNotNullNorEmpty(name, "name must not be null");
|
||||
this.version = StringUtils.requireNotNullNorEmpty(version, "version must not be null");
|
||||
this.os = os;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue