提交 712851a8 编写于 作者: 1 17hao

Add braces

上级 63d291cb
...@@ -277,8 +277,9 @@ public class TopicManagerServiceImpl implements TopicManagerService { ...@@ -277,8 +277,9 @@ public class TopicManagerServiceImpl implements TopicManagerService {
} }
Map<Long, Map<String, TopicDO>> topicMap = new HashMap<>(appList.size()); Map<Long, Map<String, TopicDO>> topicMap = new HashMap<>(appList.size());
for (TopicDO topicDO: topicList) { for (TopicDO topicDO: topicList) {
if (topicDO.getTopicName().equals(CONSUMER_OFFSETS_TOPIC)) if (topicDO.getTopicName().equals(CONSUMER_OFFSETS_TOPIC)) {
continue; continue;
}
Map<String, TopicDO> subTopicMap = topicMap.getOrDefault(topicDO.getClusterId(), new HashMap<>()); Map<String, TopicDO> subTopicMap = topicMap.getOrDefault(topicDO.getClusterId(), new HashMap<>());
subTopicMap.put(topicDO.getTopicName(), topicDO); subTopicMap.put(topicDO.getTopicName(), topicDO);
topicMap.put(topicDO.getClusterId(), subTopicMap); topicMap.put(topicDO.getClusterId(), subTopicMap);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册