aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPJ Fanning <fanningpj@apache.org>2022-03-09 20:43:38 +0000
committerPJ Fanning <fanningpj@apache.org>2022-03-09 20:43:38 +0000
commitf3e197713be76b8214deebd7540b67c944fd21e1 (patch)
treec072ef539e579d9466a3c4caf6d55ae06a2e2d19
parentbdd7e65d855517245b8add708bbc99cda9934750 (diff)
downloadpoi-f3e197713be76b8214deebd7540b67c944fd21e1.tar.gz
poi-f3e197713be76b8214deebd7540b67c944fd21e1.zip
[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
-rw-r--r--poi-ooxml/src/main/java/org/apache/poi/ooxml/extractor/POIXMLPropertiesTextExtractor.java1
1 files changed, 0 insertions, 1 deletions
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
@@ -113,7 +113,6 @@ public class POIXMLPropertiesTextExtractor implements POIXMLTextExtractor {
document.getProperties().getCoreProperties().getUnderlyingProperties();
appendIfPresent(text, "Category", props.getCategoryProperty());
- appendIfPresent(text, "Category", props.getCategoryProperty());
appendIfPresent(text, "ContentStatus", props.getContentStatusProperty());
appendIfPresent(text, "ContentType", props.getContentTypeProperty());
appendDateIfPresent(text, "Created", props.getCreatedProperty());