diff options
author | chiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3> | 2004-04-07 07:06:28 +0000 |
---|---|---|
committer | chiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3> | 2004-04-07 07:06:28 +0000 |
commit | baf561d93e1672d87e337e1c1c9bd106baf49083 (patch) | |
tree | f7e1af48e1e68d38741fe165cbf7787fc2950d76 /sample/evolve | |
parent | 707e08af67f99805c22b1890296052ea6b14e5d0 (diff) | |
download | javassist-baf561d93e1672d87e337e1c1c9bd106baf49083.tar.gz javassist-baf561d93e1672d87e337e1c1c9bd106baf49083.zip |
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
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); |