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:
Sergey Vladimirov 2011-08-23 08:52:37 +00:00
parent 1190b117c5
commit 419d505619

View File

@ -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 )