This is an automated email from the ASF dual-hosted git repository.

zhangliang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git


The following commit(s) were added to refs/heads/master by this push:
     new bbc9a779a7a Remove useless codes (#27567)
bbc9a779a7a is described below

commit bbc9a779a7ab2fc578817126f09099a19e67bee2
Author: Liang Zhang <[email protected]>
AuthorDate: Sun Jul 30 11:45:43 2023 +0800

    Remove useless codes (#27567)
---
 .../shardingsphere/infra/database/DatabaseTypeEngine.java  | 14 --------------
 1 file changed, 14 deletions(-)

diff --git 
a/infra/common/src/main/java/org/apache/shardingsphere/infra/database/DatabaseTypeEngine.java
 
b/infra/common/src/main/java/org/apache/shardingsphere/infra/database/DatabaseTypeEngine.java
index 8224501a44f..1071d81581d 100644
--- 
a/infra/common/src/main/java/org/apache/shardingsphere/infra/database/DatabaseTypeEngine.java
+++ 
b/infra/common/src/main/java/org/apache/shardingsphere/infra/database/DatabaseTypeEngine.java
@@ -98,20 +98,6 @@ public final class DatabaseTypeEngine {
         return result;
     }
     
-    /**
-     * Get storage types.
-     *
-     * @param dataSources data sources
-     * @return storage types
-     */
-    public static Map<String, DatabaseType> getStorageTypes(final Map<String, 
DataSource> dataSources) {
-        Map<String, DatabaseType> result = new 
LinkedHashMap<>(dataSources.size(), 1F);
-        for (Entry<String, DataSource> entry : dataSources.entrySet()) {
-            result.put(entry.getKey(), getStorageType(entry.getValue()));
-        }
-        return result;
-    }
-    
     /**
      * Get storage type.
      *

Reply via email to