lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kay Kay (JIRA)" <j...@apache.org>
Subject [jira] Updated: (SOLR-912) org.apache.solr.common.util.NamedList - Typesafe efficient variant - ModernNamedList introduced - implementing the same API as NamedList
Date Sun, 14 Dec 2008 05:02:44 GMT

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

Kay Kay updated SOLR-912:
-------------------------

    Attachment: SOLR-912.patch

1) New Type-safe implementation of NamedList , ModernNamedList . 

2) New interface INamedList<T> created 

3) New Test case - ModernNamedList added. 

4) Added more test  cases to NamedListTest . 

Once the patch is approved - NamedList would be deprecated and the existing codebase in Solr
would be replaced to use ModernNamedList<T> to be more type-safe. 

> org.apache.solr.common.util.NamedList - Typesafe efficient variant - ModernNamedList
introduced - implementing the same API as NamedList
> ----------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-912
>                 URL: https://issues.apache.org/jira/browse/SOLR-912
>             Project: Solr
>          Issue Type: Improvement
>          Components: clients - java
>    Affects Versions: 1.4
>         Environment: Tomcat 6, JRE 6, Solr 1.3+ nightlies 
>            Reporter: Kay Kay
>            Priority: Minor
>             Fix For: 1.3.1
>
>         Attachments: SOLR-912.patch
>
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> The implementation of NamedList - while being fast - is not necessarily type-safe. I
have implemented an additional implementation of the same - ModernNamedList (a type-safe variation
providing the same interface as NamedList) - while preserving the semantics in terms of ordering
of elements and allowing null elements for key and values (keys are always Strings , while
values correspond to generics ). 

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


Mime
View raw message