diff options
author | Javen O'Neal <onealj@apache.org> | 2017-10-26 18:10:09 +0000 |
---|---|---|
committer | Javen O'Neal <onealj@apache.org> | 2017-10-26 18:10:09 +0000 |
commit | 98c6f2ba1fcf8a55b7704c0a9389e1b26d5330b4 (patch) | |
tree | 246e56e536a4043d71419e2acb3c24fffdaf47dd | |
parent | a2f30cd63abdd82dd8455d86f948e8722af02117 (diff) | |
download | poi-98c6f2ba1fcf8a55b7704c0a9389e1b26d5330b4.tar.gz poi-98c6f2ba1fcf8a55b7704c0a9389e1b26d5330b4.zip |
bug 61630: Patch from Daniel to fix XSSFExportToXML IllegalArgumentException: Comparison method violates its general contract! (bug 61630, comment 17, attachment 35468). Found during manual testing.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1813443 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | src/ooxml/java/org/apache/poi/xssf/extractor/XSSFExportToXml.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ooxml/java/org/apache/poi/xssf/extractor/XSSFExportToXml.java b/src/ooxml/java/org/apache/poi/xssf/extractor/XSSFExportToXml.java index 140de7215f..c7e211d145 100644 --- a/src/ooxml/java/org/apache/poi/xssf/extractor/XSSFExportToXml.java +++ b/src/ooxml/java/org/apache/poi/xssf/extractor/XSSFExportToXml.java @@ -446,7 +446,7 @@ public class XSSFExportToXml implements Comparator<String>{ } if (elementValue.equals(rightWithoutNamespace)) { rightIndexOf = i; - indexMap.put(samePath+"/"+rightWithoutNamespace, leftIndexOf); + indexMap.put(samePath+"/"+rightWithoutNamespace, rightIndexOf); } } i++; |