This is an automated email from the ASF dual-hosted git repository.
asf-gitbox-commits pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-rng.git
The following commit(s) were added to refs/heads/master by this push:
new ce82d798 Checkstyle formatting on test class
ce82d798 is described below
commit ce82d798d364256a07dec4984fccef4e518ea511
Author: Alex Herbert <[email protected]>
AuthorDate: Sun Aug 23 09:50:17 2026 +0100
Checkstyle formatting on test class
---
.../org/apache/commons/rng/simple/JDKRandomBridgeTest.java | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git
a/commons-rng-simple/src/test/java/org/apache/commons/rng/simple/JDKRandomBridgeTest.java
b/commons-rng-simple/src/test/java/org/apache/commons/rng/simple/JDKRandomBridgeTest.java
index a9360f4a..1bb09fd2 100644
---
a/commons-rng-simple/src/test/java/org/apache/commons/rng/simple/JDKRandomBridgeTest.java
+++
b/commons-rng-simple/src/test/java/org/apache/commons/rng/simple/JDKRandomBridgeTest.java
@@ -61,7 +61,7 @@ class JDKRandomBridgeTest {
* instance of the generator where the subcycle generators are already
known.
*/
@ParameterizedTest
- @EnumSource(value=RandomSource.class, mode=Mode.EXCLUDE,
names={"TWO_CMRES_SELECT"})
+ @EnumSource(value = RandomSource.class, mode = Mode.EXCLUDE, names =
{"TWO_CMRES_SELECT"})
void testSerialization(RandomSource source)
throws IOException,
ClassNotFoundException {
@@ -89,11 +89,11 @@ class JDKRandomBridgeTest {
}
static Stream<RandomSource> testDeserializationWithBadStateSizeThrows() {
- // Note: This test is not valid for generators where the state bytes are
large
- // and are written in multiple blocks, e.g. WELL_44497_A.
- return Stream.of(RandomSource.SPLIT_MIX_64,
- RandomSource.XO_SHI_RO_128_PP,
- RandomSource.L128_X256_MIX);
+ // Note: This test is not valid for generators where the state bytes
are large
+ // and are written in multiple blocks, e.g. WELL_44497_A.
+ return Stream.of(RandomSource.SPLIT_MIX_64,
+ RandomSource.XO_SHI_RO_128_PP,
+ RandomSource.L128_X256_MIX);
}
@ParameterizedTest