You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael Braun (JIRA)" <ji...@apache.org> on 2016/10/12 05:54:21 UTC
[jira] [Comment Edited] (SOLR-9629) Fix SolrJ warnings and use of
deprecated methods in org.apache.solr.client.solrj.impl package
[ 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org