You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucenenet.apache.org by "Scott Lombard (JIRA)" <ji...@apache.org> on 2011/07/09 08:00:19 UTC
[Lucene.Net] [jira] [Work started] (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 ]
Work on LUCENENET-434 started by Scott Lombard.
> 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
> Reporter: Scott Lombard
> Assignee: Scott Lombard
> Fix For: Lucene.Net 2.9.4g
>
> Original Estimate: 168h
> Remaining Estimate: 168h
>
> 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 is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira