diff --git a/classlib/src/main/java/org/teavm/classlib/impl/RandomUtils.java b/classlib/src/main/java/org/teavm/classlib/impl/RandomUtils.java index e8d6c44f9..eb5c8b046 100644 --- a/classlib/src/main/java/org/teavm/classlib/impl/RandomUtils.java +++ b/classlib/src/main/java/org/teavm/classlib/impl/RandomUtils.java @@ -18,6 +18,9 @@ package org.teavm.classlib.impl; import java.util.function.DoubleSupplier; public class RandomUtils { + private RandomUtils() { + } + public static void checkStreamSize(long streamSize) { if (streamSize < 0L) { throw new IllegalArgumentException();