You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@activemq.apache.org by GitBox <gi...@apache.org> on 2021/04/28 19:24:21 UTC

[GitHub] [activemq-artemis] franz1981 commented on pull request #3558: ARTEMIS-3271 Improve Critical Analyzer to use AutoCloseable on the API

franz1981 commented on pull request #3558:
URL: https://github.com/apache/activemq-artemis/pull/3558#issuecomment-828718277


   You can create a CriticalSection interface that extends AutoCloseable and remove the Exception from ita signature. It would simplify the caller, saving the catch path.


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org