Jukka Zitting created TIKA-1027: ----------------------------------- Summary: 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