Skip to content

Commit ee248b8

Browse files
committed
refactor: make random final
1 parent cbe6da9 commit ee248b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/thealgorithms/maths/SolovayStrassenPrimalityTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
*/
1212
final class SolovayStrassenPrimalityTest {
1313

14-
private Random random;
14+
private final Random random;
1515

1616
/**
1717
* Constructs a SolovayStrassenPrimalityTest instance with a specified seed for randomness.

0 commit comments

Comments
 (0)