You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by ji...@apache.org on 2022/04/20 02:54:47 UTC
[rocketmq] branch develop updated: [ISSUE #4160]remove the final modifier of a method which is already in a final class (#4163)
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 6fca4e866 [ISSUE #4160]remove the final modifier of a method which is already in a final class (#4163)
6fca4e866 is described below
commit 6fca4e866c6d2f50e29934cb8b23685889218d64
Author: Echo <57...@users.noreply.github.com>
AuthorDate: Wed Apr 20 10:54:35 2022 +0800
[ISSUE #4160]remove the final modifier of a method which is already in a final class (#4163)
Co-authored-by: xiongyujie <xi...@highlight.mobi>
---
.../java/org/apache/rocketmq/broker/plugin/MessageStoreFactory.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/broker/src/main/java/org/apache/rocketmq/broker/plugin/MessageStoreFactory.java b/broker/src/main/java/org/apache/rocketmq/broker/plugin/MessageStoreFactory.java
index 8db538b84..f59277747 100644
--- a/broker/src/main/java/org/apache/rocketmq/broker/plugin/MessageStoreFactory.java
+++ b/broker/src/main/java/org/apache/rocketmq/broker/plugin/MessageStoreFactory.java
@@ -22,7 +22,7 @@ import java.lang.reflect.Constructor;
import org.apache.rocketmq.store.MessageStore;
public final class MessageStoreFactory {
- public final static MessageStore build(MessageStorePluginContext context, MessageStore messageStore)
+ public static MessageStore build(MessageStorePluginContext context, MessageStore messageStore)
throws IOException {
String plugin = context.getBrokerConfig().getMessageStorePlugIn();
if (plugin != null && plugin.trim().length() != 0) {