aboutsummaryrefslogtreecommitdiffstats
path: root/tutorial
diff options
context:
space:
mode:
authorchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>2004-07-08 12:24:02 +0000
committerchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>2004-07-08 12:24:02 +0000
commitfba9c3fa2abd83b2fdfa77ca56c0283113e5298b (patch)
treefd473a610e2ada758b57e7c1447b73842e04917d /tutorial
parentd51257fc947399ffee2158daf0f50946d39be5b0 (diff)
downloadjavassist-fba9c3fa2abd83b2fdfa77ca56c0283113e5298b.tar.gz
javassist-fba9c3fa2abd83b2fdfa77ca56c0283113e5298b.zip
Fixed Bugs item #987038 (opened at 2004-07-08 15:06)
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@112 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
Diffstat (limited to 'tutorial')
-rw-r--r--tutorial/tutorial.html4
-rw-r--r--tutorial/tutorial3.html2
2 files changed, 3 insertions, 3 deletions
diff --git a/tutorial/tutorial.html b/tutorial/tutorial.html
index 6c260011..6c9df81d 100644
--- a/tutorial/tutorial.html
+++ b/tutorial/tutorial.html
@@ -61,7 +61,7 @@ mapping between classes and <code>CtClass</code> objects. Javassist
never allows two distinct <code>CtClass</code> objects to represent
the same class unless two independent <code>ClassPool</code> are created.
This is a significant feature for consistent program
-transformaiton. To create multiple
+transformation. To create multiple
instances of <code>ClassPool</code>, write the following code:
<ul><pre>
@@ -119,7 +119,7 @@ pool.insertClassPath(new ClassClassPath(this.getClass()));
<p>
This statement registers the class path that was used for loading
-the class of the object that <code>this</code> referes to.
+the class of the object that <code>this</code> refers to.
You can use any <code>Class</code> object as an argument instead of
<code>this.getClass()</code>. The class path used for loading the
class represented by that <code>Class</code> object is registered.
diff --git a/tutorial/tutorial3.html b/tutorial/tutorial3.html
index 89c68ae7..4b732978 100644
--- a/tutorial/tutorial3.html
+++ b/tutorial/tutorial3.html
@@ -46,7 +46,7 @@ in <code>CtClass</code> should be called.
For example,
<ul><pre>
-FileInputStream fin
+BufferedInputStream fin
= new BufferedInputStream(new FileInputStream("Point.class"));
ClassFile cf = new ClassFile(new DataInputStream(fin));
</pre></ul>