diff options
-rw-r--r-- | subprojects/store-dse-visualization/src/main/java/tools/refinery/visualization/internal/ModelVisualizerAdapterImpl.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/subprojects/store-dse-visualization/src/main/java/tools/refinery/visualization/internal/ModelVisualizerAdapterImpl.java b/subprojects/store-dse-visualization/src/main/java/tools/refinery/visualization/internal/ModelVisualizerAdapterImpl.java index 031b2e6b..a6a3dc69 100644 --- a/subprojects/store-dse-visualization/src/main/java/tools/refinery/visualization/internal/ModelVisualizerAdapterImpl.java +++ b/subprojects/store-dse-visualization/src/main/java/tools/refinery/visualization/internal/ModelVisualizerAdapterImpl.java | |||
@@ -221,6 +221,7 @@ public class ModelVisualizerAdapterImpl implements ModelVisualizerAdapter { | |||
221 | } | 221 | } |
222 | 222 | ||
223 | private Integer[] typeColor(String name) { | 223 | private Integer[] typeColor(String name) { |
224 | @SuppressWarnings("squid:S2245") | ||
224 | var random = new Random(name.hashCode()); | 225 | var random = new Random(name.hashCode()); |
225 | return new Integer[] { random.nextInt(128) + 128, random.nextInt(128) + 128, random.nextInt(128) + 128 }; | 226 | return new Integer[] { random.nextInt(128) + 128, random.nextInt(128) + 128, random.nextInt(128) + 128 }; |
226 | } | 227 | } |