lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cédrik LIME (JIRA) <j...@apache.org>
Subject [jira] Updated: (LUCENE-2017) CloseableThreadLocal is now obsolete
Date Thu, 29 Oct 2009 19:33:59 GMT

     [ https://issues.apache.org/jira/browse/LUCENE-2017?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Cédrik LIME updated LUCENE-2017:
--------------------------------

    Attachment: CloseableThreadLocal.patch

Right. May I suggest we amend CloseableThreadLocal with some additional documentation?
Here is a proposal. I have also "optimised" the removal for the current thread. O:-)

In any case, this issue can be now be closed as invalid. Thanks for the explanation Michael!

> CloseableThreadLocal is now obsolete
> ------------------------------------
>
>                 Key: LUCENE-2017
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2017
>             Project: Lucene - Java
>          Issue Type: Improvement
>    Affects Versions: 3.0
>            Reporter: Cédrik LIME
>         Attachments: CloseableThreadLocal.patch, CloseableThreadLocal.patch
>
>
> Since Lucene 3 depends on Java 5, we can use ThreadLocal#remove() to take care or resource
management.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message