From: PJ Fanning Date: Wed, 9 Mar 2022 20:43:38 +0000 (+0000) Subject: [bug-65946] remove duplicate Category property from extracted properties X-Git-Tag: REL_5_2_2~11 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f3e197713be76b8214deebd7540b67c944fd21e1;p=poi.git [bug-65946] remove duplicate Category property from extracted properties git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898804 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/poi-ooxml/src/main/java/org/apache/poi/ooxml/extractor/POIXMLPropertiesTextExtractor.java b/poi-ooxml/src/main/java/org/apache/poi/ooxml/extractor/POIXMLPropertiesTextExtractor.java index 6df03370e2..c5a36d74b5 100644 --- a/poi-ooxml/src/main/java/org/apache/poi/ooxml/extractor/POIXMLPropertiesTextExtractor.java +++ b/poi-ooxml/src/main/java/org/apache/poi/ooxml/extractor/POIXMLPropertiesTextExtractor.java @@ -112,7 +112,6 @@ public class POIXMLPropertiesTextExtractor implements POIXMLTextExtractor { PackagePropertiesPart props = document.getProperties().getCoreProperties().getUnderlyingProperties(); - appendIfPresent(text, "Category", props.getCategoryProperty()); appendIfPresent(text, "Category", props.getCategoryProperty()); appendIfPresent(text, "ContentStatus", props.getContentStatusProperty()); appendIfPresent(text, "ContentType", props.getContentTypeProperty());