aboutsummaryrefslogtreecommitdiffstats
path: root/tutorial
diff options
context:
space:
mode:
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>