You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Keith R. Bennett (JIRA)" <ji...@apache.org> on 2007/10/25 00:59:50 UTC

[jira] Created: (TIKA-88) Merging MimeUtils and MimeTypes would be simpler and more concise.

Merging MimeUtils and MimeTypes would be simpler and more concise.
------------------------------------------------------------------

                 Key: TIKA-88
                 URL: https://issues.apache.org/jira/browse/TIKA-88
             Project: Tika
          Issue Type: Improvement
          Components: general
    Affects Versions: 0.1-incubator
            Reporter: Keith R. Bennett
            Assignee: Keith R. Bennett
            Priority: Minor
             Fix For: 0.1-incubator


The distinction between MimeUtils and MimeTypes is not clear; they both have utility methods.  We decided to merge the two classes.

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


[jira] Resolved: (TIKA-88) Merging MimeUtils and MimeTypes would be simpler and more concise.

Posted by "Keith R. Bennett (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TIKA-88?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Keith R. Bennett resolved TIKA-88.
----------------------------------

    Resolution: Fixed

Changes in the code patch were applied.

> Merging MimeUtils and MimeTypes would be simpler and more concise.
> ------------------------------------------------------------------
>
>                 Key: TIKA-88
>                 URL: https://issues.apache.org/jira/browse/TIKA-88
>             Project: Tika
>          Issue Type: Improvement
>          Components: general
>    Affects Versions: 0.1-incubator
>            Reporter: Keith R. Bennett
>            Assignee: Keith R. Bennett
>            Priority: Minor
>             Fix For: 0.1-incubator
>
>         Attachments: tika-88.patch
>
>
> The distinction between MimeUtils and MimeTypes is not clear; they both have utility methods.  We decided to merge the two classes.

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


[jira] Updated: (TIKA-88) Merging MimeUtils and MimeTypes would be simpler and more concise.

Posted by "Keith R. Bennett (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TIKA-88?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Keith R. Bennett updated TIKA-88:
---------------------------------

    Attachment: tika-88.patch

This patch accomplishes the merge.  Here are notes that could be added as a commit comment:

TIKA-88: Moved all nonredundant functionality from MimeUtils to MimeTypes.
Moved test code from MimeUtilsTest to MimeTypesTest accordingly.
Deleted MimeUtils class and its test class.
Modified URL for MIME type config file in default tika-config.xml to have leading "/".
Created MimeTypesFactory class as a public factory and adapter to package protected MimeTypesReader.


> Merging MimeUtils and MimeTypes would be simpler and more concise.
> ------------------------------------------------------------------
>
>                 Key: TIKA-88
>                 URL: https://issues.apache.org/jira/browse/TIKA-88
>             Project: Tika
>          Issue Type: Improvement
>          Components: general
>    Affects Versions: 0.1-incubator
>            Reporter: Keith R. Bennett
>            Assignee: Keith R. Bennett
>            Priority: Minor
>             Fix For: 0.1-incubator
>
>         Attachments: tika-88.patch
>
>
> The distinction between MimeUtils and MimeTypes is not clear; they both have utility methods.  We decided to merge the two classes.

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