1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-25 15:52:06 +01:00

Correcting mini typing error

This commit is contained in:
adiaholic 2019-07-09 22:12:26 +05:30
parent c6c904cc3e
commit fe85ab3b83

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