mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-04-19 03:01:48 +08:00
commit
a68d57062f
@ -223,7 +223,7 @@ public class RandomUtil {
|
||||
min++;
|
||||
}
|
||||
if (includeMax) {
|
||||
max--;
|
||||
max++;
|
||||
}
|
||||
return getRandom().nextInt(min, max);
|
||||
}
|
||||
@ -296,7 +296,7 @@ public class RandomUtil {
|
||||
min++;
|
||||
}
|
||||
if (includeMax) {
|
||||
max--;
|
||||
max++;
|
||||
}
|
||||
return getRandom().nextLong(min, max);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user