You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sentry.apache.org by "Alexander Kolbasov (JIRA)" <ji...@apache.org> on 2017/04/03 21:58:41 UTC
[jira] [Created] (SENTRY-1691) TransactionManager should use
try-with-resource for timers
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)