Skip to content

Commit 204e466

Browse files
Update src/main/java/org/z3950/zing/cql/CQLGenerator.java
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent e9db8d4 commit 204e466

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/org/z3950/zing/cql/CQLGenerator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public CQLGenerator(Properties params) {
9595
this.params = params;
9696
String seed = params.getProperty("seed");
9797
if (seed != null)
98-
rnd = new Random(new Long(seed).longValue());
98+
rnd = new Random(Long.parseLong(seed));
9999
else
100100
rnd = new Random();
101101
}

0 commit comments

Comments
 (0)