mirror of
https://github.com/github/codeql.git
synced 2026-05-05 13:45:19 +02:00
NBSP -> original-flavour space
This commit is contained in:
@@ -90,7 +90,7 @@ class StdlibRandomSource extends RandomDataSource {
|
||||
|
||||
// Note for the following bounds functions: `java.util.Random` only defines no-arg versions
|
||||
// of `nextInt` and `nextLong` plus `nextInt(int x)`, bounded to the range [0, x)
|
||||
// However `ThreadLocalRandom` provides one- and two-arg versions of `nextInt` and `nextLong`
|
||||
// However `ThreadLocalRandom` provides one- and two-arg versions of `nextInt` and `nextLong`
|
||||
// which allow both lower and upper bounds for both types.
|
||||
override int getLowerBound() {
|
||||
// If this call is to `nextInt(int)` or `nextLong(long), the lower bound is zero.
|
||||
|
||||
Reference in New Issue
Block a user