From 92cd48eae93ab073660815327e4174310e1a9f64 Mon Sep 17 00:00:00 2001 From: ZhangCheng Date: Thu, 24 Oct 2024 12:57:42 +0800 Subject: [PATCH] Add release note for #33357 --- .../apache/shardingsphere/infra/route/context/RouteUnit.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/infra/route/src/main/java/org/apache/shardingsphere/infra/route/context/RouteUnit.java b/infra/route/src/main/java/org/apache/shardingsphere/infra/route/context/RouteUnit.java index 72ea99942f30a..ed8699177037b 100644 --- a/infra/route/src/main/java/org/apache/shardingsphere/infra/route/context/RouteUnit.java +++ b/infra/route/src/main/java/org/apache/shardingsphere/infra/route/context/RouteUnit.java @@ -24,7 +24,6 @@ import java.util.Collection; import java.util.HashSet; -import java.util.LinkedHashSet; import java.util.Optional; import java.util.Set; import java.util.stream.Collectors; @@ -45,7 +44,7 @@ public RouteUnit(final RouteMapper dataSourceMapper, final Collection new IllegalArgumentException("`dataSourceMapper` is required")); ShardingSpherePreconditions.checkNotNull(tableMappers, () -> new IllegalArgumentException("`tableMappers` is required")); this.dataSourceMapper = dataSourceMapper; - this.tableMappers = new LinkedHashSet<>(tableMappers); + this.tableMappers = tableMappers; } /**