]> source.dussan.org Git - poi.git/commitdiff
[bug-65946] remove duplicate Category property from extracted properties
authorPJ Fanning <fanningpj@apache.org>
Wed, 9 Mar 2022 20:43:38 +0000 (20:43 +0000)
committerPJ Fanning <fanningpj@apache.org>
Wed, 9 Mar 2022 20:43:38 +0000 (20:43 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898804 13f79535-47bb-0310-9956-ffa450edef68

poi-ooxml/src/main/java/org/apache/poi/ooxml/extractor/POIXMLPropertiesTextExtractor.java

index 6df03370e2f72e82840eaee2ca14ac6bcb155f5f..c5a36d74b5e1609bc8ff77bb8133e98329b99594 100644 (file)
@@ -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());