Cleanup from fbf0e5f4dd
Motivation: ThreadLocalInsecureRandom still referenced ThreadLocalRandom directly, but shouldn't. Modifications: ThreadLocalInsecureRandom should reference PlatformDependent#threadLocalRandom() in comments Result: Less usage of internal.ThreadLocalRandom.
This commit is contained in:
parent
fbf0e5f4dd
commit
56694ebc0f
@ -17,13 +17,12 @@
|
||||
package io.netty.handler.ssl.util;
|
||||
|
||||
import io.netty.util.internal.PlatformDependent;
|
||||
import io.netty.util.internal.ThreadLocalRandom;
|
||||
|
||||
import java.security.SecureRandom;
|
||||
import java.util.Random;
|
||||
|
||||
/**
|
||||
* Insecure {@link SecureRandom} which relies on {@link ThreadLocalRandom} for random number generation.
|
||||
* Insecure {@link SecureRandom} which relies on {@link PlatformDependent#threadLocalRandom()} for random number generation.
|
||||
*/
|
||||
final class ThreadLocalInsecureRandom extends SecureRandom {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user