Pankraz76 commented on code in PR #20097:
URL: https://github.com/apache/kafka/pull/20097#discussion_r2244825389


##########
coordinator-common/src/test/java/org/apache/kafka/coordinator/common/runtime/MockCoordinatorExecutor.java:
##########
@@ -49,10 +49,7 @@ CoordinatorResult<Void, T> execute() {
         }
     }
 
-    public static class ExecutorResult<T> {
-        public final String key;
-        public final CoordinatorResult<Void, T> result;
-
+    public record ExecutorResult<T>(String key, CoordinatorResult<Void, T> 
result) {

Review Comment:
   - https://github.com/openrewrite/rewrite-static-analysis/issues/682



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