diff options
author | chiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3> | 2008-04-21 15:09:42 +0000 |
---|---|---|
committer | chiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3> | 2008-04-21 15:09:42 +0000 |
commit | bd6d4dcb4cc5a68c9c4d79d640567fd8b5cd8279 (patch) | |
tree | 337aa59935587108d71170881873a50b9a731066 | |
parent | b9a13a5ca30450dc97f9a107b30fd2e607bffc7e (diff) | |
download | javassist-bd6d4dcb4cc5a68c9c4d79d640567fd8b5cd8279.tar.gz javassist-bd6d4dcb4cc5a68c9c4d79d640567fd8b5cd8279.zip |
fixed a typo.
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@434 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 9e6c8366..87027d62 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)); -cc.writeFile("java.lang.String", ".");</pre></ul> +cc.writeFile(".");</pre></ul> <p>This program produces a file <code>"./java/lang/String.class"</code>. |