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

zhonghongsheng 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 8509c9fd064 Fix typo of ShardingRuleChangedEventCreator (#26798)
8509c9fd064 is described below

commit 8509c9fd06484af16c9c72e6a220417c7fd7983a
Author: Liang Zhang <[email protected]>
AuthorDate: Thu Jul 6 20:09:38 2023 +0800

    Fix typo of ShardingRuleChangedEventCreator (#26798)
---
 .../shardingsphere/sharding/event/ShardingRuleChangedEventCreator.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/features/sharding/core/src/main/java/org/apache/shardingsphere/sharding/event/ShardingRuleChangedEventCreator.java
 
b/features/sharding/core/src/main/java/org/apache/shardingsphere/sharding/event/ShardingRuleChangedEventCreator.java
index 24378a2d301..99fb271e375 100644
--- 
a/features/sharding/core/src/main/java/org/apache/shardingsphere/sharding/event/ShardingRuleChangedEventCreator.java
+++ 
b/features/sharding/core/src/main/java/org/apache/shardingsphere/sharding/event/ShardingRuleChangedEventCreator.java
@@ -28,6 +28,7 @@ import 
org.apache.shardingsphere.sharding.subscriber.DefaultKeyGenerateStrategyC
 import 
org.apache.shardingsphere.sharding.subscriber.DefaultShardingAuditorStrategyChangedGenerator;
 import 
org.apache.shardingsphere.sharding.subscriber.DefaultShardingColumnChangedGenerator;
 import 
org.apache.shardingsphere.sharding.subscriber.DefaultTableShardingStrategyChangedGenerator;
+import 
org.apache.shardingsphere.sharding.subscriber.KeyGeneratorChangedGenerator;
 import 
org.apache.shardingsphere.sharding.subscriber.ShardingAlgorithmChangedGenerator;
 import 
org.apache.shardingsphere.sharding.subscriber.ShardingAuditorChangedGenerator;
 import 
org.apache.shardingsphere.sharding.subscriber.ShardingAutoTableChangedGenerator;
@@ -61,7 +62,7 @@ public final class ShardingRuleChangedEventCreator implements 
RuleChangedEventCr
             case ShardingRuleNodePathProvider.ALGORITHMS:
                 return ShardingAlgorithmChangedGenerator.TYPE;
             case ShardingRuleNodePathProvider.KEY_GENERATORS:
-                return DefaultKeyGenerateStrategyChangedGenerator.TYPE;
+                return KeyGeneratorChangedGenerator.TYPE;
             case ShardingRuleNodePathProvider.AUDITORS:
                 return ShardingAuditorChangedGenerator.TYPE;
             default:

Reply via email to