Small checkpoint 1 typo

This commit is contained in:
Oliver Kennedy 2016-02-05 19:11:32 -05:00
parent 1239b640c3
commit 58d563f176

View file

@ -32,7 +32,7 @@ while((statement = parser.Statement()) != null){
}
// End-of-file. Exit!</pre>
<p>At this point, you'll need to figure out what kind of statement you're dealing with. For this project, we'll be working with <tt>Select</tt> and <tt>CreateTable</tt>. There are two ways to do this. JSqlParser defines a Visitor>instanceof</tt> relation:</p>
<p>At this point, you'll need to figure out what kind of statement you're dealing with. For this project, we'll be working with <tt>Select</tt> and <tt>CreateTable</tt>. There are two ways to do this: Visitor classes, or the <tt>instanceof</tt> relation. We strongly recommend using <tt>instanceof</tt>:</p>
<pre>if(statement instanceof Select) {
Select selectStatement = (Select)statement;
// handle the select