HWPF: Range: fix incorrect assert that breaks Tika build
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1160202 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ec3ab612c8
commit
583fb49254
@ -1251,7 +1251,7 @@ public class Range { // TODO -instantiable superclass
|
|||||||
{
|
{
|
||||||
if ( _start < 0 )
|
if ( _start < 0 )
|
||||||
throw new AssertionError();
|
throw new AssertionError();
|
||||||
if ( _start >= _text.length() )
|
if ( _start > _text.length() )
|
||||||
throw new AssertionError();
|
throw new AssertionError();
|
||||||
if ( _end < 0 )
|
if ( _end < 0 )
|
||||||
throw new AssertionError();
|
throw new AssertionError();
|
||||||
|
Loading…
Reference in New Issue
Block a user