Fix checkstyle rule violation

This commit is contained in:
Alexey Andreev 2023-09-19 09:59:39 +02:00
parent 93d1a5e492
commit c245eb08cd

View File

@ -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();