mirror of
https://github.com/apache/rocketmq.git
synced 2026-10-29 17:25:35 +08:00
Explicit type argument can be replaced with <> (#4186)
This commit is contained in:
@@ -33,9 +33,9 @@ public class TopicRouteData extends RemotingSerializable {
|
||||
|
||||
public TopicRouteData cloneTopicRouteData() {
|
||||
TopicRouteData topicRouteData = new TopicRouteData();
|
||||
topicRouteData.setQueueDatas(new ArrayList<QueueData>());
|
||||
topicRouteData.setBrokerDatas(new ArrayList<BrokerData>());
|
||||
topicRouteData.setFilterServerTable(new HashMap<String, List<String>>());
|
||||
topicRouteData.setQueueDatas(new ArrayList<>());
|
||||
topicRouteData.setBrokerDatas(new ArrayList<>());
|
||||
topicRouteData.setFilterServerTable(new HashMap<>());
|
||||
topicRouteData.setOrderTopicConf(this.orderTopicConf);
|
||||
|
||||
if (this.queueDatas != null) {
|
||||
|
||||
Reference in New Issue
Block a user