From f04ca5b970ebb9dba411a033a168bb59d0f912ae Mon Sep 17 00:00:00 2001 From: Trustin Lee Date: Wed, 4 Mar 2009 10:54:00 +0000 Subject: [PATCH] Shut eclipse compiler up --- .../execution/OrderedMemoryAwareThreadPoolExecutor.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/jboss/netty/handler/execution/OrderedMemoryAwareThreadPoolExecutor.java b/src/main/java/org/jboss/netty/handler/execution/OrderedMemoryAwareThreadPoolExecutor.java index 26b74193a6..7bf80f43ca 100644 --- a/src/main/java/org/jboss/netty/handler/execution/OrderedMemoryAwareThreadPoolExecutor.java +++ b/src/main/java/org/jboss/netty/handler/execution/OrderedMemoryAwareThreadPoolExecutor.java @@ -185,6 +185,10 @@ public class OrderedMemoryAwareThreadPoolExecutor extends return super.shouldCount(task); } + void onAfterExecute(Runnable r, Throwable t) { + afterExecute(r, t); + } + private final class ChildExecutor implements Executor, Runnable { private final LinkedList tasks = new LinkedList(); @@ -217,10 +221,10 @@ public class OrderedMemoryAwareThreadPoolExecutor extends try { task.run(); ran = true; - afterExecute(task, null); + onAfterExecute(task, null); } catch (RuntimeException e) { if (!ran) { - afterExecute(task, e); + onAfterExecute(task, e); } throw e; } finally {