>Doron wrote: 
> >     int gap = (pp[pp.length] - pp[0]) - (pp.length - 1); 

int gap = (pp[pp.length-1] - pp[0]) - (pp.length - 1);

Don't want to cause an IndexOutOfBoundsException
-Paul

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to