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

Michael Braun edited comment on SOLR-9629 at 10/12/16 5:53 AM:
---------------------------------------------------------------

[~elyograg] the only difference comes if the value is potentially in the Long 
object cache - if the value is between -128 and 127. Using new Long() skips 
this check. 


was (Author: mbraun688):
[~elyograg] the only difference comes if the value is potentially in the Long 
object cache - if the value is between -127 and 128. Using new Long() skips 
this check. 

> Fix SolrJ warnings and use of deprecated methods in 
> org.apache.solr.client.solrj.impl package
> ---------------------------------------------------------------------------------------------
>
>                 Key: SOLR-9629
>                 URL: https://issues.apache.org/jira/browse/SOLR-9629
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: SolrJ
>    Affects Versions: master (7.0)
>            Reporter: Michael Braun
>            Priority: Trivial
>         Attachments: SOLR-9629.patch
>
>
> There are some warnings (generic types and deprecation) that appear in the 
> org.apache.solr.client.solrj.impl package which can be easily fixed. Other 
> than some simple fixes, includes a fix to use a MultiPartEntityBuilder to 
> create rather than using a deprecated constructor on MultiPartEntity.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to