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:
parent
cb794dcb50
commit
f9a5a3700b
@ -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;
|
||||
}
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user