OK, this makes sense.  I'll add it.

Mike

On Sat, Oct 31, 2009 at 9:43 AM, Sanne Grinovero
<sanne.grinov...@gmail.com> wrote:
> Hello,
> I'm implementing a distributed directory based on Infinispan
> (www.jboss.org/infinispan)
>
> currently implementing the org.apache.lucene.store.Lock,
> I was wondering why is
>
> /** Returns true if the resource is currently locked.  Note that one must
>   * still call {...@link #obtain()} before using the resource. */
> public abstract boolean isLocked();
>
> not throwing an IOException as other methods do?
>
> Could you please add it? It looks like it should be trivial, as all
> clients of this API are already declaring to throw the same Exception.
>
> Regards,
> Sanne Grinovero
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org
> For additional commands, e-mail: java-dev-h...@lucene.apache.org
>
>

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

Reply via email to