From 623d9d7202019a56457ffd02524c70ebc86958f2 Mon Sep 17 00:00:00 2001 From: Daniel Darabos Date: Wed, 29 Jul 2015 18:27:40 +0200 Subject: [PATCH] Fix typo in warning message. --- .../main/java/io/netty/util/internal/ThreadLocalRandom.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/src/main/java/io/netty/util/internal/ThreadLocalRandom.java b/common/src/main/java/io/netty/util/internal/ThreadLocalRandom.java index 963f90bc58..886ef4cd79 100644 --- a/common/src/main/java/io/netty/util/internal/ThreadLocalRandom.java +++ b/common/src/main/java/io/netty/util/internal/ThreadLocalRandom.java @@ -75,7 +75,7 @@ public final class ThreadLocalRandom extends Random { static { if (initialSeedUniquifier == 0) { // Try to generate a real random number from /dev/random. - // Get from a different thread to avoid blocking indefinitely on a machine without much entrophy. + // Get from a different thread to avoid blocking indefinitely on a machine without much entropy. seedGeneratorThread = new Thread("initialSeedUniquifierGenerator") { @Override public void run() { @@ -156,7 +156,7 @@ public final class ThreadLocalRandom extends Random { seedGeneratorThread.interrupt(); logger.warn( "Failed to generate a seed from SecureRandom within {} seconds. " + - "Not enough entrophy?", timeoutSeconds + "Not enough entropy?", timeoutSeconds ); break; }