lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adrien Grand <jpou...@gmail.com>
Subject Re: svn commit: r1393552 - /lucene/dev/branches/slowclosing/lucene/codecs/src/java/org/apache/lucene/codecs/bloom/BloomFilteringPostingsFormat.java
Date Wed, 03 Oct 2012 15:39:52 GMT
Mike,

On 03/10/2012 17:35, mikemccand@apache.org wrote:
> +        if (!success) {
> +          IOUtils.close(bloomIn, delegateFieldsProducer);
> +        } else {
> +          IOUtils.close(bloomIn);
> +        }

When success is false, maybe you should use closeWhileHandlingException instead?

-- 
Adrien

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


Mime
View raw message