Alexander Kolbasov created SENTRY-1691:
------------------------------------------

             Summary: TransactionManager should use try-with-resource for timers
                 Key: SENTRY-1691
                 URL: https://issues.apache.org/jira/browse/SENTRY-1691
             Project: Sentry
          Issue Type: Improvement
          Components: Sentry
    Affects Versions: 1.8.0, sentry-ha-redesign
            Reporter: Alexander Kolbasov
            Priority: Minor


There are a few places in TransactionManager where it creates a timer context 
and closes it explicitly in the finally block. Instead we should use 
try-with-resource to close it. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to