tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (TIKA-156) Some MIME magic patterns are ignored by MimeTypes
Date Fri, 05 Sep 2008 12:59:44 GMT

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

Jukka Zitting resolved TIKA-156.

    Resolution: Fixed

Fixed in revision 692430.

> Some MIME magic patterns are ignored by MimeTypes
> -------------------------------------------------
>                 Key: TIKA-156
>                 URL: https://issues.apache.org/jira/browse/TIKA-156
>             Project: Tika
>          Issue Type: Bug
>          Components: mime
>            Reporter: Jukka Zitting
>            Assignee: Jukka Zitting
>             Fix For: 0.2-incubating
> The MimeTypes class uses a SortedSet to keep track of all magic patterns, but the Magic.compareTo()
method is not strictly consistent with equals (it can return 0 for two different magic patterns).
The unfortunate effect is that the SortedSet will silently ignore some magic patterns that
just happen to return 0 when compared to other patterns.

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

View raw message