lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott Lombard (Updated) (JIRA)" <j...@apache.org>
Subject [Lucene.Net] [jira] [Updated] (LUCENENET-434) Remove AnonymousXXXX classes to increase readablity
Date Fri, 23 Dec 2011 19:26:31 GMT

     [ https://issues.apache.org/jira/browse/LUCENENET-434?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Scott Lombard updated LUCENENET-434:
------------------------------------

             Priority: Minor  (was: Major)
    Affects Version/s: Lucene.Net 3.x
        Fix Version/s:     (was: Lucene.Net 2.9.4g)
                       Lucene.Net 3.x

This does not affect the function of the core it provides better readablity.  The classes
were created as part of the automated porting tool used in the orginal conversion.  Removing
them is a process that can happen over time.
                
> 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 3.x, Lucene.Net 2.9.4g
>            Reporter: Scott Lombard
>            Assignee: Scott Lombard
>            Priority: Minor
>             Fix For: Lucene.Net 3.x
>
>         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

        

Mime
View raw message