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

jinrongtong pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/rocketmq.git


The following commit(s) were added to refs/heads/develop by this push:
     new c36bb78e85 [ISSUE 7313]  Enhancement Optimization Method name (#7420)
c36bb78e85 is described below

commit c36bb78e850129b9db40adc5b0e1b9bfd5c8fd2e
Author: shriVATSA54 <116296557+shrivats...@users.noreply.github.com>
AuthorDate: Sat Oct 7 12:22:39 2023 +0530

    [ISSUE 7313]  Enhancement Optimization Method name (#7420)
    
    * Enhancment/method_name/#7313/
    
    * Enhancment/method_name/#7313/
    
    * Enhancment/method_name/#7313/
---
 .../rocketmq/tieredstore/provider/TieredStoreTopicBlackListFilter.java  | 2 +-
 .../apache/rocketmq/tieredstore/provider/TieredStoreTopicFilter.java    | 2 +-
 .../tieredstore/provider/TieredStoreTopicBlackListFilterTest.java       | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/tieredstore/src/main/java/org/apache/rocketmq/tieredstore/provider/TieredStoreTopicBlackListFilter.java
 
b/tieredstore/src/main/java/org/apache/rocketmq/tieredstore/provider/TieredStoreTopicBlackListFilter.java
index 50adbb7136..f8bf165bc1 100644
--- 
a/tieredstore/src/main/java/org/apache/rocketmq/tieredstore/provider/TieredStoreTopicBlackListFilter.java
+++ 
b/tieredstore/src/main/java/org/apache/rocketmq/tieredstore/provider/TieredStoreTopicBlackListFilter.java
@@ -39,7 +39,7 @@ public class TieredStoreTopicBlackListFilter implements 
TieredStoreTopicFilter {
     }
 
     @Override
-    public void addTopicToWhiteList(String topicName) {
+    public void addTopicToBlackList(String topicName) {
         this.topicBlackSet.add(topicName);
     }
 }
diff --git 
a/tieredstore/src/main/java/org/apache/rocketmq/tieredstore/provider/TieredStoreTopicFilter.java
 
b/tieredstore/src/main/java/org/apache/rocketmq/tieredstore/provider/TieredStoreTopicFilter.java
index 3f26b8b026..f983ed6e96 100644
--- 
a/tieredstore/src/main/java/org/apache/rocketmq/tieredstore/provider/TieredStoreTopicFilter.java
+++ 
b/tieredstore/src/main/java/org/apache/rocketmq/tieredstore/provider/TieredStoreTopicFilter.java
@@ -21,5 +21,5 @@ public interface TieredStoreTopicFilter {
 
     boolean filterTopic(String topicName);
 
-    void addTopicToWhiteList(String topicName);
+    void addTopicToBlackList(String topicName);
 }
diff --git 
a/tieredstore/src/test/java/org/apache/rocketmq/tieredstore/provider/TieredStoreTopicBlackListFilterTest.java
 
b/tieredstore/src/test/java/org/apache/rocketmq/tieredstore/provider/TieredStoreTopicBlackListFilterTest.java
index 2bf48173c4..fbaafa1b4c 100644
--- 
a/tieredstore/src/test/java/org/apache/rocketmq/tieredstore/provider/TieredStoreTopicBlackListFilterTest.java
+++ 
b/tieredstore/src/test/java/org/apache/rocketmq/tieredstore/provider/TieredStoreTopicBlackListFilterTest.java
@@ -30,7 +30,7 @@ public class TieredStoreTopicBlackListFilterTest {
 
         String topicName = "WhiteTopic";
         Assert.assertFalse(topicFilter.filterTopic(topicName));
-        topicFilter.addTopicToWhiteList(topicName);
+        topicFilter.addTopicToBlackList(topicName);
         Assert.assertTrue(topicFilter.filterTopic(topicName));
     }
 }
\ No newline at end of file

Reply via email to