mirror of https://github.com/apache/lucene.git
remove redundant new
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@647197 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
aca45bce71
commit
1e5bd1390b
|
@ -170,7 +170,6 @@ public class CommonsHttpSolrServer extends SolrServer
|
|||
|
||||
// The parser 'wt=' and 'version=' params are used instead of the original params
|
||||
ModifiableSolrParams wparams = new ModifiableSolrParams();
|
||||
wparams = new ModifiableSolrParams();
|
||||
wparams.set( CommonParams.WT, parser.getWriterType() );
|
||||
wparams.set( CommonParams.VERSION, parser.getVersion() );
|
||||
if( params == null ) {
|
||||
|
|
Loading…
Reference in New Issue