RockteMQ-AI commented on code in PR #10787:
URL: https://github.com/apache/rocketmq/pull/10787#discussion_r3720203078
##########
proxy/src/main/java/org/apache/rocketmq/proxy/service/message/LocalMessageService.java:
##########
@@ -272,6 +272,11 @@ public CompletableFuture<PopResult>
popMessage(ProxyContext ctx, AddressableMess
sortMap.get(key).add(messageExt.getQueueOffset());
}
Map<String, String> map = new HashMap<>(5);
+ List<MessageExt> validMessageExtList = new
ArrayList<>(messageExtList.size());
Review Comment:
Raw type usage detected. Use parameterized types for type safety.
--
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]