Skip to content

Commit

Permalink
Rename StorageUnitNodeMapCreator
Browse files Browse the repository at this point in the history
  • Loading branch information
terrymanu committed Oct 6, 2023
1 parent 13cb210 commit 3620bd5
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@ public final class StorageUnitNodeMapCreator {
public static Map<String, StorageNode> create(final Map<String, DataSourcePoolProperties> propsMap) {
Map<String, StorageNode> result = new LinkedHashMap<>();
for (Entry<String, DataSourcePoolProperties> entry : propsMap.entrySet()) {
String storageUnitName = entry.getKey();
result.put(storageUnitName, create(storageUnitName, entry.getValue()));
result.put(entry.getKey(), create(entry.getKey(), entry.getValue()));
}
return result;
}
Expand Down

0 comments on commit 3620bd5

Please sign in to comment.