Skip to content

Commit 203cb30

Browse files
committed
Trivial simplification of broker initialization by removing unnecessary assignment.
1 parent 08e70ee commit 203cb30

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

broker/src/main/java/org/apache/rocketmq/broker/BrokerController.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -188,9 +188,7 @@ public BlockingQueue<Runnable> getPullThreadPoolQueue() {
188188
}
189189

190190
public boolean initialize() throws CloneNotSupportedException {
191-
boolean result = true;
192-
193-
result = result && this.topicConfigManager.load();
191+
boolean result = this.topicConfigManager.load();
194192

195193
result = result && this.consumerOffsetManager.load();
196194
result = result && this.subscriptionGroupManager.load();

0 commit comments

Comments
 (0)