It does need to.

This allows a superclass to throw exception.

On Sun, Oct 20, 2013 at 9:58 PM, Lance Norskog <[email protected]> wrote:
> org.apache.lucene.analysis.TokenStream.end()
>
>   public void end() throws IOException {
>     clearAttributes(); // LUCENE-3849: don't consume dirty atts
>     if (hasAttribute(PositionIncrementAttribute.class)) {
>
> getAttribute(PositionIncrementAttribute.class).setPositionIncrement(0);
>     }
>   }
>
>
> This does not need IOException.
>
> --
> Lance Norskog
> [email protected]

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to