mirror of https://github.com/apache/poi.git
update assertion condition for case where empty PAPX appears at the start of document, i.e. [0; 0)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1160587 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
1cd10ba583
commit
93156c819e
|
@ -214,7 +214,8 @@ public class PAPBinTable
|
|||
{
|
||||
PAPX papx = oldPapxSortedByEndPos.get( papxIndex );
|
||||
|
||||
assert papxIndex + 1 == oldPapxSortedByEndPos.size()
|
||||
assert startInclusive == 0
|
||||
|| papxIndex + 1 == oldPapxSortedByEndPos.size()
|
||||
|| papx.getEnd() > startInclusive;
|
||||
|
||||
if ( papx.getEnd() - 1 > charIndex )
|
||||
|
|
Loading…
Reference in New Issue