lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yo...@apache.org
Subject svn commit: r647197 - /lucene/solr/trunk/client/java/solrj/src/org/apache/solr/client/solrj/impl/CommonsHttpSolrServer.java
Date Fri, 11 Apr 2008 15:22:27 GMT
Author: yonik
Date: Fri Apr 11 08:22:14 2008
New Revision: 647197

URL: http://svn.apache.org/viewvc?rev=647197&view=rev
Log:
remove redundant new

Modified:
    lucene/solr/trunk/client/java/solrj/src/org/apache/solr/client/solrj/impl/CommonsHttpSolrServer.java

Modified: lucene/solr/trunk/client/java/solrj/src/org/apache/solr/client/solrj/impl/CommonsHttpSolrServer.java
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/client/java/solrj/src/org/apache/solr/client/solrj/impl/CommonsHttpSolrServer.java?rev=647197&r1=647196&r2=647197&view=diff
==============================================================================
--- lucene/solr/trunk/client/java/solrj/src/org/apache/solr/client/solrj/impl/CommonsHttpSolrServer.java
(original)
+++ lucene/solr/trunk/client/java/solrj/src/org/apache/solr/client/solrj/impl/CommonsHttpSolrServer.java
Fri Apr 11 08:22:14 2008
@@ -170,7 +170,6 @@
     
     // 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 ) {



Mime
View raw message