svn commit: r1864980 - /ofbiz/ofbiz-framework/trunk/framework/entity/src/main/java/org/apache/ofbiz/entity/connection/DebugManagedDataSource.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1864980 - /ofbiz/ofbiz-framework/trunk/framework/entity/src/main/java/org/apache/ofbiz/entity/connection/DebugManagedDataSource.java

jleroux@apache.org
Author: jleroux
Date: Mon Aug 12 19:46:07 2019
New Revision: 1864980

URL: http://svn.apache.org/viewvc?rev=1864980&view=rev
Log:
Improved: Update build.gradle to the latest dependencies
(OFBIZ-11151)

Forgot this in previous commit

Modified:
    ofbiz/ofbiz-framework/trunk/framework/entity/src/main/java/org/apache/ofbiz/entity/connection/DebugManagedDataSource.java

Modified: ofbiz/ofbiz-framework/trunk/framework/entity/src/main/java/org/apache/ofbiz/entity/connection/DebugManagedDataSource.java
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/framework/entity/src/main/java/org/apache/ofbiz/entity/connection/DebugManagedDataSource.java?rev=1864980&r1=1864979&r2=1864980&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/framework/entity/src/main/java/org/apache/ofbiz/entity/connection/DebugManagedDataSource.java (original)
+++ ofbiz/ofbiz-framework/trunk/framework/entity/src/main/java/org/apache/ofbiz/entity/connection/DebugManagedDataSource.java Mon Aug 12 19:46:07 2019
@@ -67,18 +67,4 @@ public class DebugManagedDataSource<C ex
         return dataSourceInfo;
     }
 
-    // Ensures that the close() method does not throw an InterruptedException
-    // to conform to the AutoCloseable interface.
-    // This is fixing what should be done in org.apache.commons.dbcp2.PoolingDataSource.
-    @Override
-    public void close() throws SQLException, RuntimeException {
-        try {
-            super.close();
-        } catch (SQLException | RuntimeException e) {
-            throw e;
-        } catch (Exception e) {
-            Debug.log(e);
-        }
-    }
-
 }