You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Andrzej Bialecki (Commented) (JIRA)" <ji...@apache.org> on 2012/02/18 01:31:59 UTC
[jira] [Commented] (TIKA-864) Metadata.formatDate causes blocking
in concurrent use
[ https://issues.apache.org/jira/browse/TIKA-864?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13210694#comment-13210694 ]
Andrzej Bialecki commented on TIKA-864:
----------------------------------------
Thanks Jukka, this solved the issue nicely - however, I just noticed that the javadoc for that method is now incorrect, because it claims the method is synchronized and points to TIKA-495. This comment should be removed.
> Metadata.formatDate causes blocking in concurrent use
> -----------------------------------------------------
>
> Key: TIKA-864
> URL: https://issues.apache.org/jira/browse/TIKA-864
> Project: Tika
> Issue Type: Improvement
> Components: metadata
> Reporter: Andrzej Bialecki
> Assignee: Jukka Zitting
> Fix For: 1.1
>
>
> Currently this is a synchronized method that uses a single instance of DateFormat. Instead it could use a pool of ThreadLocal DateFormat instances and avoid the sync blocking.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira