mimaison commented on code in PR #15786:
URL: https://github.com/apache/kafka/pull/15786#discussion_r1576358398


##########
core/src/main/scala/kafka/server/ReplicaManager.scala:
##########
@@ -300,7 +300,7 @@ class ReplicaManager(val config: KafkaConfig,
   protected val allPartitions = new Pool[TopicPartition, HostedPartition](

Review Comment:
   Ideally we should declare types for all public and protected fields but this 
is a huge change.
   
   Also while it's useful in some cases, in many I find it's not adding much 
value. In this specific example I even find it annoying as you get:
   ```
   protected val allPartitions: Pool[TopicPartition, HostedPartition] = new 
Pool[TopicPartition, HostedPartition](
   ```



-- 
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: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to