mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-22 06:12:05 +01:00
Merge branch 'master' of github.com:igniterealtime/Smack
This commit is contained in:
commit
eecd5b70d3
2 changed files with 2 additions and 2 deletions
|
@ -40,7 +40,7 @@ public class NumberUtil {
|
|||
throw new IllegalArgumentException("unsigned 32-bit integers can't be negative");
|
||||
}
|
||||
if (value > ((1L << 32) - 1)) {
|
||||
throw new IllegalArgumentException("unsigned 32-bit integers can't be greater then 2^32 - 1");
|
||||
throw new IllegalArgumentException("unsigned 32-bit integers can't be greater than 2^32 - 1");
|
||||
}
|
||||
return value;
|
||||
}
|
||||
|
|
|
@ -90,7 +90,7 @@ public class MediaElement implements FormFieldChildElement {
|
|||
xml.append(uris, xmlEnvironment);
|
||||
|
||||
xml.closeElement(this);
|
||||
return null;
|
||||
return xml;
|
||||
}
|
||||
|
||||
public MediaElement from(FormField formField) {
|
||||
|
|
Loading…
Reference in a new issue