You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2017/01/10 20:44:58 UTC

[jira] [Commented] (TIKA-2234) Remove ThreadLocal from dateformat

    [ https://issues.apache.org/jira/browse/TIKA-2234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15816131#comment-15816131 ] 

Hudson commented on TIKA-2234:
------------------------------

SUCCESS: Integrated in Jenkins build tika-2.x #191 (See [https://builds.apache.org/job/tika-2.x/191/])
TIKA-2234    get rid of ThreadLocal (tallison: rev 850de14670a1a0f70a8b29d529720edf34d3c22e)
* (edit) tika-core/src/test/java/org/apache/tika/metadata/TestMetadata.java
* (edit) tika-parser-modules/tika-parser-multimedia-module/src/main/java/org/apache/tika/parser/image/ImageMetadataExtractor.java
* (edit) tika-parser-modules/tika-parser-office-module/src/main/java/org/apache/tika/parser/microsoft/ooxml/xwpf/XWPFDocumentXMLBodyHandler.java
* (edit) tika-core/src/main/java/org/apache/tika/metadata/Metadata.java
* (edit) tika-core/src/main/java/org/apache/tika/utils/DateUtils.java


> Remove ThreadLocal from dateformat
> ----------------------------------
>
>                 Key: TIKA-2234
>                 URL: https://issues.apache.org/jira/browse/TIKA-2234
>             Project: Tika
>          Issue Type: Improvement
>            Reporter: Tim Allison
>            Priority: Trivial
>             Fix For: 2.0, 1.15
>
>
> I recently tried to be smart and added ThreadLocal for some date parsing in the new, experimental SAXParsers for pptx and docx.
> After looking at [POI 59805|https://bz.apache.org/bugzilla/show_bug.cgi?id=59805] and its pointer to [stackoverflow|https://stackoverflow.com/questions/17968803/threadlocal-memory-leak], I think it better to get rid of ThreadLocal. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)