mirror of https://github.com/apache/poi.git
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:
parent
a2f30cd63a
commit
98c6f2ba1f
|
@ -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…
Reference in New Issue