tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rmannibu...@apache.org
Subject tomee git commit: useless method
Date Mon, 10 Aug 2015 02:51:45 GMT
Repository: tomee
Updated Branches:
  refs/heads/master 9860f6882 -> 574367689


useless method


Project: http://git-wip-us.apache.org/repos/asf/tomee/repo
Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/57436768
Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/57436768
Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/57436768

Branch: refs/heads/master
Commit: 5743676894969b4bb5f972fcb994fd8a5a4e1c20
Parents: 9860f68
Author: Romain Manni-Bucau <rmannibu@starbucks.com>
Authored: Sun Aug 9 19:51:37 2015 -0700
Committer: Romain Manni-Bucau <rmannibu@starbucks.com>
Committed: Sun Aug 9 19:51:37 2015 -0700

----------------------------------------------------------------------
 .../java/org/apache/tomee/jdbc/TomEEDataSourceCreator.java  | 9 ---------
 1 file changed, 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tomee/blob/57436768/tomee/tomee-jdbc/src/main/java/org/apache/tomee/jdbc/TomEEDataSourceCreator.java
----------------------------------------------------------------------
diff --git a/tomee/tomee-jdbc/src/main/java/org/apache/tomee/jdbc/TomEEDataSourceCreator.java
b/tomee/tomee-jdbc/src/main/java/org/apache/tomee/jdbc/TomEEDataSourceCreator.java
index 388487f..427d641 100644
--- a/tomee/tomee-jdbc/src/main/java/org/apache/tomee/jdbc/TomEEDataSourceCreator.java
+++ b/tomee/tomee-jdbc/src/main/java/org/apache/tomee/jdbc/TomEEDataSourceCreator.java
@@ -48,15 +48,6 @@ import java.util.logging.Logger;
 
 public class TomEEDataSourceCreator extends PoolDataSourceCreator {
     @Override
-    public void resetConnections(final CommonDataSource ds) {
-        if (TomEEDataSource.class.isInstance(ds)) {
-            TomEEDataSource.class.cast(ds).purge();
-        } else {
-            super.resetConnections(ds);
-        }
-    }
-
-    @Override
     public DataSource pool(final String name, final DataSource ds, final Properties properties)
{
         final PoolConfiguration config = build(TomEEPoolProperties.class, createProperties(name,
properties));
         config.setDataSource(ds);


Mime
View raw message