just aesthetical reasons. See the java code
cache = new FilterCache(deletesMode) {
@Override
public DocIdSet mergeDeletes(final IndexReader r, final DocIdSet
docIdSet) {
return new FilteredDocIdSet(docIdSet) {
@Override
protected boolean match(int docI
This is a great improvement, but why not also remove the braces and returns?
var cache = new FilterCache(deletesMode,
(reader, docIdSet) => new FilteredDocIdSet(
(DocIdSet)docIdSet, docid => !reader.IsDeleted(docid)));
On Tue, May 17, 2011 at 3:01 PM, Digy (JIRA) wrote:
>
>[
> https:
[
https://issues.apache.org/jira/browse/LUCENENET-412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13035092#comment-13035092
]
Digy commented on LUCENENET-412:
One more sample
{code}
From:
class AnonymousFi