You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucenenet.apache.org by "Laimonas Simutis (JIRA)" <ji...@apache.org> on 2019/01/24 22:21:00 UTC
[jira] [Closed] (LUCENENET-434) Remove AnonymousXXXX classes to
increase readablity
[ https://issues.apache.org/jira/browse/LUCENENET-434?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Laimonas Simutis closed LUCENENET-434.
--------------------------------------
Resolution: Incomplete
This is a stale ticket that has not had activity in almost 7 years. We are planning on keeping the iterator code as is to match java code as close as possible to make it easier to compare code when fixing bugs, etc.
> Remove AnonymousXXXX classes to increase readablity
> ---------------------------------------------------
>
> Key: LUCENENET-434
> URL: https://issues.apache.org/jira/browse/LUCENENET-434
> Project: Lucene.Net
> Issue Type: Improvement
> Components: Lucene.Net Core
> Affects Versions: Lucene.Net 2.9.4g, Lucene.Net 3.0.3
> Reporter: Scott Lombard
> Assignee: Scott Lombard
> Priority: Minor
> Fix For: Lucene.Net 3.6
>
> Attachments: TeeSinkTokenFilter.patch
>
> Original Estimate: 168h
> Time Spent: 13h
> Remaining Estimate: 155h
>
> Replace AnonymousXXXX classes inhereted from JLCA which make the code impossible to read.
> Follow Digy's template to replace the single abstract method with Func<> or Action<>
>
> like in FilterCache<T> from:
> protected abstract object MergeDeletes(IndexReader reader, object value);
> to:
> Func<IndexReader, object, object> MergeDeletes;
>
> Determine a solution to the classes with more than 1 abstract method without diverging much from Java.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)