From 203cb30a906a77f41b0e5ba09fc351434862d408 Mon Sep 17 00:00:00 2001 From: shtykh_roman Date: Tue, 28 Mar 2017 10:22:53 +0900 Subject: [PATCH] Trivial simplification of broker initialization by removing unnecessary assignment. --- .../java/org/apache/rocketmq/broker/BrokerController.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/broker/src/main/java/org/apache/rocketmq/broker/BrokerController.java b/broker/src/main/java/org/apache/rocketmq/broker/BrokerController.java index 7e9e7ac9..6acd40ca 100644 --- a/broker/src/main/java/org/apache/rocketmq/broker/BrokerController.java +++ b/broker/src/main/java/org/apache/rocketmq/broker/BrokerController.java @@ -188,9 +188,7 @@ public class BrokerController { } public boolean initialize() throws CloneNotSupportedException { - boolean result = true; - - result = result && this.topicConfigManager.load(); + boolean result = this.topicConfigManager.load(); result = result && this.consumerOffsetManager.load(); result = result && this.subscriptionGroupManager.load(); -- GitLab