db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mpoes...@apache.org
Subject cvs commit: db-torque/src/java/org/apache/torque/util BasePeer.java
Date Fri, 08 Aug 2003 16:57:51 GMT
mpoeschl    2003/08/08 09:57:50

  Modified:    src/java/org/apache/torque/util BasePeer.java
  Log:
  remove unnecessary casts
  
  Revision  Changes    Path
  1.75      +3 -5      db-torque/src/java/org/apache/torque/util/BasePeer.java
  
  Index: BasePeer.java
  ===================================================================
  RCS file: /home/cvs/db-torque/src/java/org/apache/torque/util/BasePeer.java,v
  retrieving revision 1.74
  retrieving revision 1.75
  diff -u -r1.74 -r1.75
  --- BasePeer.java	3 Aug 2003 17:41:04 -0000	1.74
  +++ BasePeer.java	8 Aug 2003 16:57:50 -0000	1.75
  @@ -1102,8 +1102,7 @@
           while (critKeys.hasNext())
           {
               String key = (String) critKeys.next();
  -            Criteria.Criterion criterion =
  -                (Criteria.Criterion) criteria.getCriterion(key);
  +            Criteria.Criterion criterion = criteria.getCriterion(key);
               Criteria.Criterion[] someCriteria =
                   criterion.getAttachedCriterion();
               String table = null;
  @@ -2327,8 +2326,7 @@
           while (critKeys.hasNext())
           {
               String key = (String) critKeys.next();
  -            Criteria.Criterion criterion =
  -                (Criteria.Criterion) criteria.getCriterion(key);
  +            Criteria.Criterion criterion = criteria.getCriterion(key);
               Criteria.Criterion[] someCriteria =
                   criterion.getAttachedCriterion();
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


Mime
View raw message