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 Sun, 18 May 2003 11:14:48 GMT
mpoeschl    2003/05/18 04:14:47

  Modified:    src/java/org/apache/torque/util BasePeer.java
  Log:
  no need to check for log == null
  
  Revision  Changes    Path
  1.67      +2 -10     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.66
  retrieving revision 1.67
  diff -u -r1.66 -r1.67
  --- BasePeer.java	14 May 2003 19:38:03 -0000	1.66
  +++ BasePeer.java	18 May 2003 11:14:47 -0000	1.67
  @@ -2100,15 +2100,7 @@
               // return null.
               String message =
                   "BasePeer.MapBuilder failed trying to instantiate: " + name;
  -            if (log == null)
  -            {
  -                System.out.println(message);
  -                e.printStackTrace();
  -            }
  -            else
  -            {
  -                log.error(message, e);
  -            }
  +            log.error(message, e);
           }
           return null;
       }
  
  
  

Mime
View raw message