diff options
author | chiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3> | 2008-04-15 07:21:49 +0000 |
---|---|---|
committer | chiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3> | 2008-04-15 07:21:49 +0000 |
commit | dc1297543e85a9ea0e68ff8970dcfbdfbd24e6b9 (patch) | |
tree | 3ac38698d00339c8ea168b24bb26e0c87b058320 | |
parent | 67f676966e8f42b90f46914ac3ce0bd7e6773595 (diff) | |
download | javassist-dc1297543e85a9ea0e68ff8970dcfbdfbd24e6b9.tar.gz javassist-dc1297543e85a9ea0e68ff8970dcfbdfbd24e6b9.zip |
fixed a typo.
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@432 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
-rw-r--r-- | tutorial/tutorial.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tutorial/tutorial.html b/tutorial/tutorial.html index b6876d4c..9e6c8366 100644 --- a/tutorial/tutorial.html +++ b/tutorial/tutorial.html @@ -1043,7 +1043,7 @@ adds a new field <code>hiddenValue</code> to <code>java.lang.String</code>: <ul><pre>ClassPool pool = ClassPool.getDefault(); CtClass cc = pool.get("java.lang.String"); cc.addField(new CtField(CtClass.intType, "hiddenValue", cc)); -pool.writeFile("java.lang.String", ".");</pre></ul> +cc.writeFile("java.lang.String", ".");</pre></ul> <p>This program produces a file <code>"./java/lang/String.class"</code>. |