You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Hoss Man (JIRA)" <ji...@apache.org> on 2010/04/28 00:47:33 UTC

[jira] Created: (SOLR-1893) common code in LRUCache and FastLRUCache should be refactored into SolrCacheBase

common code in LRUCache and FastLRUCache should be refactored into SolrCacheBase
--------------------------------------------------------------------------------

                 Key: SOLR-1893
                 URL: https://issues.apache.org/jira/browse/SOLR-1893
             Project: Solr
          Issue Type: Improvement
            Reporter: Hoss Man
            Priority: Minor


In SOLR-571 I created SolrCacheBase as a place to put some new code that i wanted to use in both LRUCache and FastLRUCache, but looking at those classes there is already quite a bit of cut/paste, and it would be nice to refactor anything that is duplicated up into the new parent class.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] Updated: (SOLR-1893) common code in LRUCache and FastLRUCache should be refactored into SolrCacheBase

Posted by "Tomás Fernández Löbbe (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-1893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tomás Fernández Löbbe updated SOLR-1893:
----------------------------------------

    Attachment: SOLR-1893.patch

On the attached file I propose a possible refactor.

> common code in LRUCache and FastLRUCache should be refactored into SolrCacheBase
> --------------------------------------------------------------------------------
>
>                 Key: SOLR-1893
>                 URL: https://issues.apache.org/jira/browse/SOLR-1893
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Hoss Man
>            Priority: Minor
>         Attachments: SOLR-1893.patch
>
>
> In SOLR-571 I created SolrCacheBase as a place to put some new code that i wanted to use in both LRUCache and FastLRUCache, but looking at those classes there is already quite a bit of cut/paste, and it would be nice to refactor anything that is duplicated up into the new parent class.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org