[ 
https://issues.apache.org/jira/browse/SOLR-17600?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17936493#comment-17936493
 ] 

David Smiley commented on SOLR-17600:
-------------------------------------

Thanks for looking.  Assume MapWriter will no longer implement MapSerializable. 
 Maybe that's a stepping stone / a task to do by itself first and see where we 
are then.

> Deprecate and remove MapSerializable
> ------------------------------------
>
>                 Key: SOLR-17600
>                 URL: https://issues.apache.org/jira/browse/SOLR-17600
>             Project: Solr
>          Issue Type: Task
>            Reporter: David Smiley
>            Priority: Minor
>              Labels: newdev
>             Fix For: main (10.0)
>
>
> MapSerializable has a single method toMap(Map) and that which is intended for 
> serialization.  It was basically obsoleted by MapWritable that also has this 
> method.  Any class implementing MapSerializable should instead implement 
> MapWritable, thus implementing MapWritable.writeMap, and remove redundant 
> toMap implementations.  This amounts to replacing toMap with writeMap.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to