mirror of https://github.com/apache/poi.git
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
fd7ecac052
commit
5cb7f5c8e5
|
@ -1251,7 +1251,7 @@ public class Range { // TODO -instantiable superclass
|
|||
{
|
||||
if ( _start < 0 )
|
||||
throw new AssertionError();
|
||||
if ( _start >= _text.length() )
|
||||
if ( _start > _text.length() )
|
||||
throw new AssertionError();
|
||||
if ( _end < 0 )
|
||||
throw new AssertionError();
|
||||
|
|
Loading…
Reference in New Issue