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