From baf561d93e1672d87e337e1c1c9bd106baf49083 Mon Sep 17 00:00:00 2001 From: chiba Date: Wed, 7 Apr 2004 07:06:28 +0000 Subject: renamed insertTranslator() in ClassPool to addTranslator() since it appends a class path to the tail of the chain. ClassClassPath has been implemented. git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@79 30ef5769-5b8d-40dd-aea6-55b5d6557bb3 --- sample/evolve/DemoLoader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sample/evolve') 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); -- cgit v1.2.3