mxsm commented on code in PR #5060:
URL: https://github.com/apache/rocketmq/pull/5060#discussion_r969554720


##########
namesrv/src/main/java/org/apache/rocketmq/namesrv/routeinfo/RouteInfoManager.java:
##########
@@ -527,83 +529,81 @@ public void unregisterBroker(
 
     public void unRegisterBroker(Set<UnRegisterBrokerRequestHeader> 
unRegisterRequests) {
         try {
-            try {
-                Set<String> removedBroker = new HashSet<>();
-                Set<String> reducedBroker = new HashSet<>();
-                Map<String, BrokerStatusChangeInfo> needNotifyBrokerMap = new 
HashMap<>();
+            Set<String> removedBroker = new HashSet<>();
+            Set<String> reducedBroker = new HashSet<>();
+            Map<String, BrokerStatusChangeInfo> needNotifyBrokerMap = new 
HashMap<>();

Review Comment:
   code formate, you can read this document 
https://rocketmq.apache.org/docs/%E8%B4%A1%E7%8C%AE%E6%8C%87%E5%8D%97/30code-guidelines



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to