[ 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.
|