You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Tilman Hausherr (Jira)" <ji...@apache.org> on 2024/04/06 14:13:00 UTC

[jira] [Comment Edited] (TIKA-4238) replace some deprecated code

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

Tilman Hausherr edited comment on TIKA-4238 at 4/6/24 2:12 PM:
---------------------------------------------------------------

This was a low-hanging fruit. I could also have done UnsynchronizedByteArrayInputStream, but replacing that one would not only make the code much bigger, it would also require to catch an exception that isn't thrown now, so lets just wait what they do in the future.
https://commons.apache.org/proper/commons-io/apidocs/org/apache/commons/io/input/UnsynchronizedByteArrayInputStream.Builder.html#get()


was (Author: tilman):
This was a low-hanging fruit. I could also have done UnsynchronizedByteArrayInputStream, but replacing that one would not only would make the code much bigger, it would also require to catch an exception that isn't thrown now, so lets just wait what they do.
https://commons.apache.org/proper/commons-io/apidocs/org/apache/commons/io/input/UnsynchronizedByteArrayInputStream.Builder.html#get()

> replace some deprecated code
> ----------------------------
>
>                 Key: TIKA-4238
>                 URL: https://issues.apache.org/jira/browse/TIKA-4238
>             Project: Tika
>          Issue Type: Task
>    Affects Versions: 2.9.2
>            Reporter: Tilman Hausherr
>            Assignee: Tilman Hausherr
>            Priority: Minor
>             Fix For: 3.0.0, 2.9.3
>
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)