aboutsummaryrefslogtreecommitdiffstats
path: root/subprojects/store
diff options
context:
space:
mode:
authorLibravatar OszkarSemerath <semerath@mit.bme.hu>2023-08-08 19:47:51 +0200
committerLibravatar OszkarSemerath <semerath@mit.bme.hu>2023-08-08 19:47:51 +0200
commit5154a8055112de064ebf3bcf5be8065ac3dc8b7b (patch)
tree7e2f7e49a9e2cfb327c46b28502ce2cebadeb3c0 /subprojects/store
parentMerge pull request #35 from OszkarSemerath/datastructure (diff)
downloadrefinery-5154a8055112de064ebf3bcf5be8065ac3dc8b7b.tar.gz
refinery-5154a8055112de064ebf3bcf5be8065ac3dc8b7b.tar.zst
refinery-5154a8055112de064ebf3bcf5be8065ac3dc8b7b.zip
SuppressWarnings for using deterministic random in hash code generation.
Diffstat (limited to 'subprojects/store')
-rw-r--r--subprojects/store/src/main/java/tools/refinery/store/statecoding/neighbourhood/AbstractNeighbourhoodCalculator.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/subprojects/store/src/main/java/tools/refinery/store/statecoding/neighbourhood/AbstractNeighbourhoodCalculator.java b/subprojects/store/src/main/java/tools/refinery/store/statecoding/neighbourhood/AbstractNeighbourhoodCalculator.java
index 8fcf24b1..0a40a19d 100644
--- a/subprojects/store/src/main/java/tools/refinery/store/statecoding/neighbourhood/AbstractNeighbourhoodCalculator.java
+++ b/subprojects/store/src/main/java/tools/refinery/store/statecoding/neighbourhood/AbstractNeighbourhoodCalculator.java
@@ -24,6 +24,7 @@ public abstract class AbstractNeighbourhoodCalculator {
24 protected AbstractNeighbourhoodCalculator(List<? extends Interpretation<?>> interpretations, IntSet individuals) { 24 protected AbstractNeighbourhoodCalculator(List<? extends Interpretation<?>> interpretations, IntSet individuals) {
25 this.nullImpactValues = new ArrayList<>(); 25 this.nullImpactValues = new ArrayList<>();
26 this.impactValues = new LinkedHashMap<>(); 26 this.impactValues = new LinkedHashMap<>();
27 @SuppressWarnings("squid:S2245")
27 Random random = new Random(1); 28 Random random = new Random(1);
28 29
29 individualHashValues = new IntLongHashMap(); 30 individualHashValues = new IntLongHashMap();