]> 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)
commit0b5244e619b9698c2aa293f19a33d586bba5759c
tree6c8394dc7f225b65f75569ed438d57f22796e329
parent8f68884358ec7cfae87dd2670acd70db30a3f2bd
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