Author: maxcom
Date: Mon Aug 22 11:08:54 2011
New Revision: 1160202
URL: http://svn.apache.org/viewvc?rev=1160202&view=rev
Log:
HWPF: Range: fix incorrect assert that breaks Tika build
Modified:
poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/usermodel/Range.java
Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/usermodel/Range.java
URL:
http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/usermodel/Range.java?rev=1160202&r1=1160201&r2=1160202&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/usermodel/Range.java
(original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/usermodel/Range.java Mon
Aug 22 11:08:54 2011
@@ -1251,7 +1251,7 @@ public class Range { // TODO -instantiab
{
if ( _start < 0 )
throw new AssertionError();
- if ( _start >= _text.length() )
+ if ( _start > _text.length() )
throw new AssertionError();
if ( _end < 0 )
throw new AssertionError();
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]