You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucenenet.apache.org by "Christopher Currens (JIRA)" <ji...@apache.org> on 2012/06/22 23:58:42 UTC

[jira] [Updated] (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 ]

Christopher Currens updated LUCENENET-434:
------------------------------------------

    Fix Version/s:     (was: Lucene.Net 3.0.3)
                   Lucene.Net 3.5

Moving to 3.5.  As ugly as they are, they don't hurt anything except our eyes leaving them in there.  As we port to 3.5, we can remove these as much as we can.
                
> 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.5
>
>         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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira