CreateCostElement: minor refactoring

This commit is contained in:
teo_sarca 2008-09-12 09:55:33 +00:00
parent 0e10da320a
commit 7cbdbdb163
1 changed files with 1 additions and 4 deletions

View File

@ -104,10 +104,7 @@ public class CreateCostElement extends SvrProcess
try
{
pstmt = DB.prepareStatement (sql, get_TrxName());
for (int i = 0; i < params.size(); i++)
{
DB.setParameter(pstmt, i+1, params.get(i));
}
DB.setParameters(pstmt, params);
rs = pstmt.executeQuery ();
while (rs.next())
{