You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucenenet.apache.org by "Digy (JIRA)" <ji...@apache.org> on 2011/07/09 11:53:16 UTC
[Lucene.Net] [jira] [Commented] (LUCENENET-434) Remove AnonymousXXXX classes to
increase readablity
[ https://issues.apache.org/jira/browse/LUCENENET-434?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13062351#comment-13062351 ]
Digy commented on LUCENENET-434:
--------------------------------
very nice.
> 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
>
> Attachments: TeeSinkTokenFilter.patch
>
> Original Estimate: 168h
> Time Spent: 5h
> Remaining Estimate: 163h
>
> 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