Sasilekha opened a new pull request #9195: URL: https://github.com/apache/kafka/pull/9195
In NioEchoServer the enum has its constructor declared as private, which is redundant. We can remove this. public class NioEchoServer extends Thread { public enum MetricType { TOTAL, RATE, AVG, MAX; private final String metricNameSuffix; private MetricType() { metricNameSuffix = "-" + name().toLowerCase(Locale.ROOT); }}} Removed the MetricType constructor for the MetricType Enum ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org