Fix compile errors introduced by bad cherry-picks (#10391)
This commit is contained in:
parent
9955ef563e
commit
f8b3a388ff
@ -197,7 +197,7 @@ public class DiskFileUploadTest {
|
||||
DiskFileUpload f1 = new DiskFileUpload("file3", "file3", "application/json", null, null, 0);
|
||||
try {
|
||||
byte[] bytes = new byte[4096];
|
||||
PlatformDependent.threadLocalRandom().nextBytes(bytes);
|
||||
ThreadLocalRandom.current().nextBytes(bytes);
|
||||
|
||||
final ByteBuf buffer;
|
||||
|
||||
|
@ -18,6 +18,7 @@ package io.netty.util;
|
||||
|
||||
import static java.util.Objects.requireNonNull;
|
||||
|
||||
import io.netty.util.internal.ObjectUtil;
|
||||
import io.netty.util.internal.PlatformDependent;
|
||||
import io.netty.util.internal.SystemPropertyUtil;
|
||||
import io.netty.util.internal.logging.InternalLogger;
|
||||
|
Loading…
Reference in New Issue
Block a user