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

Ken Krugler resolved TIKA-1248.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 1.6

Fixed in r1571896

> CharsetDetector.getReader method doesn't support empty/null declaredEncoding
> ----------------------------------------------------------------------------
>
>                 Key: TIKA-1248
>                 URL: https://issues.apache.org/jira/browse/TIKA-1248
>             Project: Tika
>          Issue Type: Bug
>    Affects Versions: 1.4
>            Reporter: Nicolas Gavalda
>            Assignee: Ken Krugler
>            Priority: Minor
>             Fix For: 1.6
>
>
> The javadoc of the CharsetDetector.getReader method states that the 
> declaredEncoding parameter can be null or empty. However, providing such 
> values throws an exception (IllegalArgumentException or 
> IllegalCharsetNameException).
> Either the javadoc should be updated to match this behavior, or the bug 
> should be fixed (even if the method seems not to be used internally).



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to