commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pste...@apache.org
Subject svn commit: r491661 - /jakarta/commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/BasicDataSource.java
Date Mon, 01 Jan 2007 22:27:06 GMT
Author: psteitz
Date: Mon Jan  1 14:27:05 2007
New Revision: 491661

URL: http://svn.apache.org/viewvc?view=rev&rev=491661
Log:
Eliminated unecessary boolean compare to true.

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

Modified: jakarta/commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/BasicDataSource.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/BasicDataSource.java?view=diff&rev=491661&r1=491660&r2=491661
==============================================================================
--- jakarta/commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/BasicDataSource.java
(original)
+++ jakarta/commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/BasicDataSource.java
Mon Jan  1 14:27:05 2007
@@ -1157,7 +1157,7 @@
         }
 
         // Create an object pool to contain our active connections
-        if ((abandonedConfig != null) && (abandonedConfig.getRemoveAbandoned() ==
true)) {
+        if ((abandonedConfig != null) && (abandonedConfig.getRemoveAbandoned()))
{
             connectionPool = new AbandonedObjectPool(null,abandonedConfig);
         }
         else {



---------------------------------------------------------------------
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