01: /*
02: * Created on Nov 11, 2005
03: */
04: package uk.org.ponder.util;
05:
06: /** Passes through the supplied Runnable unchanged. Used by clients where no
07: * wrapping code is actually desired to surround the Runnable invokation.
08: * @author Antranig Basman (antranig@caret.cam.ac.uk)
09: *
10: */
11: public class NullRunnableInvoker implements RunnableInvoker {
12: public void invokeRunnable(Runnable towrap) {
13: towrap.run();
14: }
15: }
|