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


##########
core/src/main/scala/kafka/metrics/LinuxIoMetricsCollector.scala:
##########
@@ -29,9 +29,9 @@ import scala.jdk.CollectionConverters._
  */
 class LinuxIoMetricsCollector(procRoot: String, val time: Time, val logger: 
Logger) {
   import LinuxIoMetricsCollector._
-  var lastUpdateMs: Long = -1L
-  var cachedReadBytes:Long = 0L
-  var cachedWriteBytes:Long = 0L
+  private var lastUpdateMs: Long = -1L

Review Comment:
   Right, now that these are private, we can drop the types. Done



-- 
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]

Reply via email to