[jira] Created: (TIKA-276) Drop the StringUtils class

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (TIKA-276) Drop the StringUtils class

Tim Allison (Jira)
Drop the StringUtils class
--------------------------

                 Key: TIKA-276
                 URL: https://issues.apache.org/jira/browse/TIKA-276
             Project: Tika
          Issue Type: Improvement
          Components: general
            Reporter: Jukka Zitting
            Priority: Minor


The org.apache.tika.utils.StringUtils class is only used by o.a.t.mime.MimeType, and even there only the one-line StringUtils.isEmpty() method is used.

The isEmpty() method can be inlined to MimeType and the rest of the StringUtils code should be removed as unused.

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

Reply | Threaded
Open this post in threaded view
|

[jira] Resolved: (TIKA-276) Drop the StringUtils class

Tim Allison (Jira)

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

Jukka Zitting resolved TIKA-276.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 0.5
         Assignee: Jukka Zitting

Done in revision 814022.

> Drop the StringUtils class
> --------------------------
>
>                 Key: TIKA-276
>                 URL: https://issues.apache.org/jira/browse/TIKA-276
>             Project: Tika
>          Issue Type: Improvement
>          Components: general
>            Reporter: Jukka Zitting
>            Assignee: Jukka Zitting
>            Priority: Minor
>             Fix For: 0.5
>
>
> The org.apache.tika.utils.StringUtils class is only used by o.a.t.mime.MimeType, and even there only the one-line StringUtils.isEmpty() method is used.
> The isEmpty() method can be inlined to MimeType and the rest of the StringUtils code should be removed as unused.

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