Browse Source

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
pull/77/merge
Javen O'Neal 6 years ago
parent
commit
1cea1c52fd
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/ooxml/java/org/apache/poi/xssf/extractor/XSSFExportToXml.java

+ 1
- 1
src/ooxml/java/org/apache/poi/xssf/extractor/XSSFExportToXml.java View File

@@ -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++;

Loading…
Cancel
Save