]> source.dussan.org Git - poi.git/commit
Bug 55380: Fix endless loop in CellRangeUtil.mergeCellRanges() by not trying to merge...
authorDominik Stadler <centic@apache.org>
Mon, 12 Aug 2013 19:13:10 +0000 (19:13 +0000)
committerDominik Stadler <centic@apache.org>
Mon, 12 Aug 2013 19:13:10 +0000 (19:13 +0000)
commit4a3138f575120c4b6c9a8a53f8e406374d58655c
tree6c8394dc7f225b65f75569ed438d57f22796e329
parentebbbaefe691f2550372f9b11a593bf8de112e759
Bug 55380: Fix endless loop in CellRangeUtil.mergeCellRanges() by not trying to merge overlapping regions any more, the implementation is buggy and even tagged TODO - unit test missing. The code is hard to understand and bug-free-ness is better than catching all possible merges imho.
Also add many cases to the unit tests and reformat code slightly as well
as fixing some Generics-Warnings.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1513225 13f79535-47bb-0310-9956-ffa450edef68
src/java/org/apache/poi/hssf/record/cf/CellRangeUtil.java
src/java/org/apache/poi/ss/util/CellRangeAddressBase.java
src/testcases/org/apache/poi/hssf/record/cf/TestCellRange.java
src/testcases/org/apache/poi/ss/usermodel/BaseTestConditionalFormatting.java