kamalcph commented on code in PR #17487: URL: https://github.com/apache/kafka/pull/17487#discussion_r1797766974
########## core/src/main/scala/kafka/server/DelayedRemoteListOffsets.scala: ########## @@ -31,7 +31,7 @@ import java.util.concurrent.TimeUnit import scala.collection.{Map, mutable} import scala.jdk.CollectionConverters._ -case class ListOffsetsPartitionStatus(var responseOpt: Option[ListOffsetsPartitionResponse] = None, +case class ListOffsetsPartitionStatus(@volatile var responseOpt: Option[ListOffsetsPartitionResponse], Review Comment: Intellij shows "Class parameter shadows superclass var". How to fix this warning? <img width="1184" alt="Screenshot 2024-10-13 at 1 14 39 AM" src="https://github.com/user-attachments/assets/1c1618fd-8a2d-4732-b2dc-cdffb7b5e511"> -- 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