chia7712 commented on code in PR #19356:
URL: https://github.com/apache/kafka/pull/19356#discussion_r2038745559


##########
server-common/src/main/java/org/apache/kafka/queue/EventQueue.java:
##########
@@ -107,7 +111,7 @@ public OptionalLong apply(OptionalLong prevDeadlineNs) {
         }
     }
 
-    class LatestDeadlineFunction implements Function<OptionalLong, 
OptionalLong> {
+    class LatestDeadlineFunction implements UnaryOperator<OptionalLong> {

Review Comment:
   please remove `FailureLoggingEvent` as well



##########
server-common/src/main/java/org/apache/kafka/queue/EventQueue.java:
##########
@@ -107,7 +111,7 @@ public OptionalLong apply(OptionalLong prevDeadlineNs) {
         }
     }
 
-    class LatestDeadlineFunction implements Function<OptionalLong, 
OptionalLong> {
+    class LatestDeadlineFunction implements UnaryOperator<OptionalLong> {

Review Comment:
   this class is unused - could you please remove it?



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