https://bz.apache.org/bugzilla/show_bug.cgi?id=58443

--- Comment #1 from Javen ONeal <[email protected]> ---
Created attachment 33128
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=33128&action=edit
patch to check for intersection when adding a merged region

Fixes:
* remove HSSFSheet.addMergedRegion(Region), which has been deprecated since Aug
2008
* modified H/XSSFSheet.addMergedRegion to check if candidate region overlaps
with an existing region, and throw an IllegalStateException if there is
overlap, and corresponding unit test
* add CellRangeAddressBase.intersects and corresponding unit test
* fixed several unit tests that unintentionally created overlapping merged
regions.

Note: this patch requires the fix for bug 58350 (attachment 33086).

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to