Alonexc opened a new issue, #1280: URL: https://github.com/apache/incubator-eventmesh/issues/1280
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/eventmesh/issues?q=is%3Aissue) and found no similar issues. ### Enhancement Request <img width="609" alt="image" src="https://user-images.githubusercontent.com/91315508/190361246-65475a48-db0a-4c6c-b2a1-cf4d4440b0af.png"> <img width="427" alt="image" src="https://user-images.githubusercontent.com/91315508/190361297-20aaf02f-6c47-4e25-820a-465a8643d9c7.png"> ### Describe the solution you'd like Located at: eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/admin/handler/QueryRecommendEventMeshHandler Here try-with-finally is used to manage resources, which can be well managed using try-with-recourse. Example: eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/admin/handler/DeleteWebHookConfigHandler <img width="776" alt="image" src="https://user-images.githubusercontent.com/91315508/190362354-39d5d2d2-8529-4687-8c78-d3323d3fd9fb.png"> > Note: This `issue` is only for contributors who have not contributed to eventmesh and want to contribute to eventmesh, and can only be claimed once per contributor! ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
