> in method doDelete 
> 
> 
>                 if ( criteria.containsKey(key) )
>                 {
>                     Criteria.Criterion criterion =
> (Criteria.Criterion)criteria.getCriterion(key);
>                     criterion.setDB(db);
>                     if ( criterion.getComparison().equals(Criteria.CUSTOM) )
>                     {
>                         whereClause.add( criterion.toString() ); 
>                     }
>                     else
>                     {
>                         whereClause.add( criterion.toString() ); 
>                     }
>                 }
> 
>

why do you have a conditional with both blocks containing the same code?

john mcnally


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to