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
This commit is contained in:
Javen O'Neal 2017-10-26 18:10:09 +00:00
parent a2f30cd63a
commit 98c6f2ba1f
1 changed files with 1 additions and 1 deletions

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