diff options
Diffstat (limited to 'sample/evolve/DemoLoader.java')
-rw-r--r-- | sample/evolve/DemoLoader.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sample/evolve/DemoLoader.java b/sample/evolve/DemoLoader.java index 1d8c33f9..f1474a1f 100644 --- a/sample/evolve/DemoLoader.java +++ b/sample/evolve/DemoLoader.java @@ -31,9 +31,8 @@ public class DemoLoader { public static void main(String[] args) throws Throwable { Evolution translator = new Evolution(); ClassPool cp = ClassPool.getDefault(); - cp.addTranslator(translator); Loader cl = new Loader(); - cl.setClassPool(cp); + cl.addTranslator(cp, translator); translator.makeUpdatable("sample.evolve.WebPage"); cl.run("sample.evolve.DemoServer", args); |