commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1148524 - /commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp2/managed/PoolableManagedConnectionFactory.java
Date Tue, 19 Jul 2011 20:57:50 GMT
Author: markt
Date: Tue Jul 19 20:57:49 2011
New Revision: 1148524

URL: http://svn.apache.org/viewvc?rev=1148524&view=rev
Log:
Generics - fix compilation problem

Modified:
    commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp2/managed/PoolableManagedConnectionFactory.java

Modified: commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp2/managed/PoolableManagedConnectionFactory.java
URL: http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp2/managed/PoolableManagedConnectionFactory.java?rev=1148524&r1=1148523&r2=1148524&view=diff
==============================================================================
--- commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp2/managed/PoolableManagedConnectionFactory.java
(original)
+++ commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp2/managed/PoolableManagedConnectionFactory.java
Tue Jul 19 20:57:49 2011
@@ -53,7 +53,7 @@ public class PoolableManagedConnectionFa
      * if statement pooling is enabled.
      */
     @Override
-    synchronized public Object makeObject() throws Exception {
+    synchronized public Connection makeObject() throws Exception {
         Connection conn = _connFactory.createConnection();
         if (conn == null) {
             throw new IllegalStateException("Connection factory returned null from createConnection");



Mime
View raw message