From 77c01d252ee80effb6e28ca0919171254c80e385 Mon Sep 17 00:00:00 2001 From: Norman Maurer Date: Wed, 19 Dec 2012 15:31:07 +0100 Subject: [PATCH] Fix visibily of ImmediateExecutor and add private constructor --- .../main/java/io/netty/handler/ssl/ImmediateExecutor.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/handler/src/main/java/io/netty/handler/ssl/ImmediateExecutor.java b/handler/src/main/java/io/netty/handler/ssl/ImmediateExecutor.java index 5dd9f1ab8e..8cc17bfdc5 100644 --- a/handler/src/main/java/io/netty/handler/ssl/ImmediateExecutor.java +++ b/handler/src/main/java/io/netty/handler/ssl/ImmediateExecutor.java @@ -20,7 +20,7 @@ import java.util.concurrent.Executor; /** * {@link Executor} which executes the command in the caller thread. */ -final class ImmediateExecutor implements Executor { +public final class ImmediateExecutor implements Executor { /** * The default instance. @@ -31,4 +31,7 @@ final class ImmediateExecutor implements Executor { public void execute(Runnable command) { command.run(); } + + private ImmediateExecutor() { + } }