1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-12-22 12:37:58 +01:00

Merge pull request #324 from adiaholic/spellcorrection

Correcting mini typing error
This commit is contained in:
Florian Schmaus 2019-07-28 18:11:56 +02:00 committed by GitHub
commit 96e14471d0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
}