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-1027) Allow null values when setting metadata
Date Mon, 19 Nov 2012 15:27:00 GMT

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

Jukka Zitting resolved TIKA-1027.

    Resolution: Fixed

Done in revision 1411237.
> Allow null values when setting metadata
> ---------------------------------------
>                 Key: TIKA-1027
>                 URL: https://issues.apache.org/jira/browse/TIKA-1027
>             Project: Tika
>          Issue Type: Improvement
>          Components: metadata
>            Reporter: Jukka Zitting
>            Assignee: Jukka Zitting
>            Priority: Minor
>             Fix For: 1.3
> Many file formats have optional metadata entries that result in a lot of {{if (value
== null)}} statements around {{metadata.set(...)}} calls. It would be more convenient if the
{{set}} method explicitly allowed a {{null}} value and that a call like {{metadata.set(name,
null)}} was essentially equivalent to a {{metadata.remove(name)}} call.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message