[Lucene.Net] [jira] [Created] (LUCENENET-434) Remove AnonymousXXXX classes to increase readablity

2011-07-09 Thread Scott Lombard (JIRA)
Remove Anonymous 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


Replace Anonymous 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 FilterCacheT from:
protected abstract object MergeDeletes(IndexReader reader, object value);
to:
FuncIndexReader, 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




[Lucene.Net] [jira] [Work started] (LUCENENET-434) Remove AnonymousXXXX classes to increase readablity

2011-07-09 Thread Scott Lombard (JIRA)

 [ 
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 Anonymous 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 Anonymous 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 FilterCacheT from:
 protected abstract object MergeDeletes(IndexReader reader, object value);
 to:
 FuncIndexReader, 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




[Lucene.Net] [jira] [Commented] (LUCENENET-434) Remove AnonymousXXXX classes to increase readablity

2011-07-09 Thread Digy (JIRA)

[ 
https://issues.apache.org/jira/browse/LUCENENET-434?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13062351#comment-13062351
 ] 

Digy commented on LUCENENET-434:


very nice.

 Remove Anonymous 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 Anonymous 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 FilterCacheT from:
 protected abstract object MergeDeletes(IndexReader reader, object value);
 to:
 FuncIndexReader, 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