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

Jason Gerlowski updated SOLR-7516:
----------------------------------
    Attachment: SOLR-7516.patch

I took a stab at this, after piecing together how JBC and ObjectResolver work.  
Might've gotten some things wrong, but if nothing else this should get the ball 
rolling.

> Improve javadocs for JavaBinCodec, ObjectResolver and enforce the 
> single-usage policy
> -------------------------------------------------------------------------------------
>
>                 Key: SOLR-7516
>                 URL: https://issues.apache.org/jira/browse/SOLR-7516
>             Project: Solr
>          Issue Type: Improvement
>          Components: search
>            Reporter: Shalin Shekhar Mangar
>            Priority: Minor
>              Labels: difficulty-easy, newdev
>             Fix For: 5.2, Trunk
>
>         Attachments: SOLR-7516.patch
>
>
> The Javadocs of this class can use some improvements. It doesn't adequately 
> describe the purpose of the ObjectResolver. Also, since it says that this 
> object should be used only once for marshalling or unmarshalling operation, 
> we should enforce it in code via asserts and/or exceptions.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to