1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-22 20:12:07 +01:00

Merge branch 'master' of github.com:igniterealtime/Smack

This commit is contained in:
Florian Schmaus 2019-07-30 11:35:45 +02:00
commit eecd5b70d3
2 changed files with 2 additions and 2 deletions

View file

@ -40,7 +40,7 @@ public class NumberUtil {
throw new IllegalArgumentException("unsigned 32-bit integers can't be negative"); throw new IllegalArgumentException("unsigned 32-bit integers can't be negative");
} }
if (value > ((1L << 32) - 1)) { 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; return value;
} }

View file

@ -90,7 +90,7 @@ public class MediaElement implements FormFieldChildElement {
xml.append(uris, xmlEnvironment); xml.append(uris, xmlEnvironment);
xml.closeElement(this); xml.closeElement(this);
return null; return xml;
} }
public MediaElement from(FormField formField) { public MediaElement from(FormField formField) {