chenjian2664 opened a new pull request, #10783: URL: https://github.com/apache/paimon/pull/10783
### Purpose `ListUtils.tryReplace` implements a sublist search already provided by the JDK. Use `Collections.indexOfSubList` to remove the nested search loops while preserving replacement of the first contiguous match, `null` when no match exists, and rejection of an empty search list. ### Tests -- 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]
