Minor cleanups to address warnings

git-svn-id: http://webgoat.googlecode.com/svn/trunk@162 4033779f-a91e-0410-96ef-6bf7bf53c507
This commit is contained in:
rogan.dawes 2007-07-11 12:52:44 +00:00
parent cb794dcb50
commit f9a5a3700b
2 changed files with 3 additions and 3 deletions

View File

@ -108,7 +108,7 @@ public class FindProfile extends DefaultLessonAction
boolean found = false;
try
{
int id = getIntRequestAttribute(s, getLessonName() + "."
getIntRequestAttribute(s, getLessonName() + "."
+ GoatHillsFinancial.EMPLOYEE_ID);
found = true;
}

View File

@ -173,7 +173,7 @@ public class UpdateProfile extends DefaultLessonAction
Statement answer_statement = WebSession.getConnection(s)
.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,
ResultSet.CONCUR_READ_ONLY);
ResultSet answer_results = answer_statement.executeQuery(query);
answer_statement.execute(query);
}
catch (SQLException sqle)
{
@ -222,7 +222,7 @@ public class UpdateProfile extends DefaultLessonAction
Statement answer_statement = WebSession.getConnection(s)
.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,
ResultSet.CONCUR_READ_ONLY);
ResultSet answer_results = answer_statement.executeQuery(query);
answer_statement.execute(query);
}
catch (SQLException sqle)
{