commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r745546 - /commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/AbandonedObjectPool.java
Date Wed, 18 Feb 2009 15:54:57 GMT
Author: markt
Date: Wed Feb 18 15:54:56 2009
New Revision: 745546

URL: http://svn.apache.org/viewvc?rev=745546&view=rev
Log:
Don't print the config to stdout.
 1) Using stdout like this is bad
 2) We don't log the rest of the pool config. Why should this be different?

Modified:
    commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/AbandonedObjectPool.java

Modified: commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/AbandonedObjectPool.java
URL: http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/AbandonedObjectPool.java?rev=745546&r1=745545&r2=745546&view=diff
==============================================================================
--- commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/AbandonedObjectPool.java (original)
+++ commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/AbandonedObjectPool.java Wed
Feb 18 15:54:56 2009
@@ -56,10 +56,6 @@
                                AbandonedConfig config) {
         super(factory);
         this.config = config;
-        System.out.println("AbandonedObjectPool is used (" + this + ")");
-        System.out.println("   LogAbandoned: " + config.getLogAbandoned());
-        System.out.println("   RemoveAbandoned: " + config.getRemoveAbandoned());
-        System.out.println("   RemoveAbandonedTimeout: " + config.getRemoveAbandonedTimeout());
     }
 
     /**



Mime
View raw message