Remove AbstractChannel.getRandom()
Signed-off-by: Cruz Julian Bishop <cruzjbishop@gmail.com>
This commit is contained in:
parent
93c990dd7a
commit
f34eb62104
@ -30,10 +30,6 @@ public abstract class AbstractChannel implements Channel {
|
||||
|
||||
private static final Random random = new Random();
|
||||
|
||||
public static Random getRandom() {
|
||||
return random;
|
||||
}
|
||||
|
||||
private static Integer allocateId(Channel channel) {
|
||||
Integer id = random.nextInt();
|
||||
for (;;) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user