This is an automated email from the ASF dual-hosted git repository.
chia7712 pushed a commit to branch 3.9
in repository https://gitbox.apache.org/repos/asf/kafka.git
The following commit(s) were added to refs/heads/3.9 by this push:
new fe5802b304b KAFKA-17722 Fix "this-escape" compiler warnings
(BrokerTopicMetrics) … (#19308)
fe5802b304b is described below
commit fe5802b304b83158f1189f87c87dc79b00df0741
Author: Stig Døssing <[email protected]>
AuthorDate: Sun Apr 6 18:48:37 2025 +0200
KAFKA-17722 Fix "this-escape" compiler warnings (BrokerTopicMetrics) …
(#19308)
Cherry picked from commit a880c846ae3d786f8f3259b34dadfecf0b2d0d06
Reviewers: Chia-Ping Tsai <[email protected]>
---
.../java/org/apache/kafka/storage/log/metrics/BrokerTopicMetrics.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/storage/src/main/java/org/apache/kafka/storage/log/metrics/BrokerTopicMetrics.java
b/storage/src/main/java/org/apache/kafka/storage/log/metrics/BrokerTopicMetrics.java
index c638beb1e9a..a26c57b680d 100644
---
a/storage/src/main/java/org/apache/kafka/storage/log/metrics/BrokerTopicMetrics.java
+++
b/storage/src/main/java/org/apache/kafka/storage/log/metrics/BrokerTopicMetrics.java
@@ -30,7 +30,7 @@ import java.util.concurrent.TimeUnit;
import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReentrantLock;
-public class BrokerTopicMetrics {
+public final class BrokerTopicMetrics {
public static final String MESSAGE_IN_PER_SEC = "MessagesInPerSec";
public static final String BYTES_IN_PER_SEC = "BytesInPerSec";
public static final String BYTES_OUT_PER_SEC = "BytesOutPerSec";