[ https://issues.apache.org/jira/browse/SOLR-885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12657691#action_12657691 ]
Noble Paul commented on SOLR-885: --------------------------------- bq.So instead of this big patch, simply change the signature of the method: bq.public NamedList unmarshal(InputStream is) bq.To bq.public Object unmarshal(InputStream is) This is fine .No need to make it generic But renaming the class to JavabinCodec makes sense right? > Generify NamedListCodec > ----------------------- > > Key: SOLR-885 > URL: https://issues.apache.org/jira/browse/SOLR-885 > Project: Solr > Issue Type: Improvement > Reporter: Noble Paul > Priority: Minor > Fix For: 1.4 > > Attachments: SOLR-885.patch, SOLR-885.patch, SOLR-885.patch > > > * make NamedListCodec a generic class which may be able to write any of the > supported object > * Deprecate NamedList and use only SimpleOrderedMap. (Yes it is backward > compatible) > * Ideally I wish to call this JavabinCodec because it should be able to be > used to write any kind of supported objects -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.