commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From di...@apache.org
Subject cvs commit: jakarta-commons/dbcp/src/java/org/apache/commons/dbcp AbandonedTrace.java
Date Sun, 25 Jan 2004 20:00:21 GMT
dirkv       2004/01/25 12:00:21

  Modified:    dbcp/src/java/org/apache/commons/dbcp AbandonedTrace.java
  Log:
  print message on stderr together with the stacktrace
  
  Revision  Changes    Path
  1.10      +4 -4      jakarta-commons/dbcp/src/java/org/apache/commons/dbcp/AbandonedTrace.java
  
  Index: AbandonedTrace.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/dbcp/src/java/org/apache/commons/dbcp/AbandonedTrace.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- AbandonedTrace.java	9 Oct 2003 21:04:44 -0000	1.9
  +++ AbandonedTrace.java	25 Jan 2004 20:00:21 -0000	1.10
  @@ -245,7 +245,7 @@
        */
       public void printStackTrace() {
           if (createdBy != null) {
  -            System.out.println(format.format(new Date(createdTime)));
  +            System.err.println(format.format(new Date(createdTime)));
               createdBy.printStackTrace();
           }
           synchronized(this) {
  
  
  

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


Mime
View raw message