jackwener opened a new issue, #11768: URL: https://github.com/apache/doris/issues/11768
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/incubator-doris/issues?q=is%3Aissue) and found no similar issues. ### Description The legacy IO is hard to use. After Java 7, the NIO is imported, it's easy to use and elegant. ```java Old: File file = new File("..."); file.createNewFile() mkdir() New: Path path = Paths.get(""); ...... ``` like this https://github.com/apache/doris/pull/11645/files#diff-470c2ed9f28730c3d42f0a11fed56f0a4dae030a9eb9c7521c9793ed6499ec8d ### Solution _No response_ ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- 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: commits-unsubscr...@doris.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org