This is an automated email from the ASF dual-hosted git repository.
sunnianjun 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 7ce8623e866 Remove useless ResourceMetaData.getStorageTypes() (#28185)
7ce8623e866 is described below
commit 7ce8623e86625214ffc1dc722a7bc1cab2ebf457
Author: Liang Zhang <[email protected]>
AuthorDate: Sun Aug 20 18:20:02 2023 +0800
Remove useless ResourceMetaData.getStorageTypes() (#28185)
---
.../infra/metadata/database/resource/ResourceMetaData.java | 9 ---------
1 file changed, 9 deletions(-)
diff --git
a/infra/common/src/main/java/org/apache/shardingsphere/infra/metadata/database/resource/ResourceMetaData.java
b/infra/common/src/main/java/org/apache/shardingsphere/infra/metadata/database/resource/ResourceMetaData.java
index c892b29af07..f0ba8a800e5 100644
---
a/infra/common/src/main/java/org/apache/shardingsphere/infra/metadata/database/resource/ResourceMetaData.java
+++
b/infra/common/src/main/java/org/apache/shardingsphere/infra/metadata/database/resource/ResourceMetaData.java
@@ -64,15 +64,6 @@ public final class ResourceMetaData {
storageUnitMetaData = new StorageUnitMetaData(databaseName,
storageNodeDataSources, propsMap, storageResource.getStorageUnitNodeMappers());
}
- /**
- * Get storage types.
- *
- * @return storage types
- */
- public Map<String, DatabaseType> getStorageTypes() {
- return storageUnitMetaData.getStorageTypes();
- }
-
/**
* Get all instance data source names.
*