[jboss-cvs] javassist/tutorial ...
Shigeru Chiba
chiba at is.titech.ac.jp
Tue Apr 15 03:21:49 EDT 2008
User: chiba
Date: 08/04/15 03:21:49
Modified: tutorial tutorial.html
Log:
fixed a typo.
Revision Changes Path
1.33 +1 -1 javassist/tutorial/tutorial.html
(In the diff below, changes in quantity of whitespace are not shown.)
Index: tutorial.html
===================================================================
RCS file: /cvsroot/jboss/javassist/tutorial/tutorial.html,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -b -r1.32 -r1.33
--- tutorial.html 8 Jun 2007 13:32:10 -0000 1.32
+++ tutorial.html 15 Apr 2008 07:21:49 -0000 1.33
@@ -1043,7 +1043,7 @@
<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>.
More information about the jboss-cvs-commits
mailing list