Consolidate Int/LongProvider to use next() as the source of random bits
authoraherbert <aherbert@apache.org>
Wed, 30 Mar 2022 10:10:37 +0000 (11:10 +0100)
committeraherbert <aherbert@apache.org>
Wed, 30 Mar 2022 10:10:37 +0000 (11:10 +0100)
commitea379adf1c968405a2942ff4637183b66c53aaee
tree10e68e27df5ad19d40f42fd24ed8b862db6c9a9f
parent34b22b32c9f854b94409f8981a14ccf13333c37f
Consolidate Int/LongProvider to use next() as the source of random bits

This removes the mixed use of next and nextLong or nextInt. The next
method is default source of the random bits and should always be used.
commons-rng-core/src/main/java/org/apache/commons/rng/core/source32/IntProvider.java
commons-rng-core/src/main/java/org/apache/commons/rng/core/source64/LongProvider.java