lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yo...@apache.org
Subject svn commit: r1668447 - in /lucene/dev/branches/branch_5x: ./ solr/ solr/core/ solr/core/src/test/org/apache/solr/search/json/TestJsonRequest.java
Date Sun, 22 Mar 2015 19:09:18 GMT
Author: yonik
Date: Sun Mar 22 19:09:18 2015
New Revision: 1668447

URL: http://svn.apache.org/r1668447
Log:
tests: clean up statics

Modified:
    lucene/dev/branches/branch_5x/   (props changed)
    lucene/dev/branches/branch_5x/solr/   (props changed)
    lucene/dev/branches/branch_5x/solr/core/   (props changed)
    lucene/dev/branches/branch_5x/solr/core/src/test/org/apache/solr/search/json/TestJsonRequest.java

Modified: lucene/dev/branches/branch_5x/solr/core/src/test/org/apache/solr/search/json/TestJsonRequest.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_5x/solr/core/src/test/org/apache/solr/search/json/TestJsonRequest.java?rev=1668447&r1=1668446&r2=1668447&view=diff
==============================================================================
--- lucene/dev/branches/branch_5x/solr/core/src/test/org/apache/solr/search/json/TestJsonRequest.java
(original)
+++ lucene/dev/branches/branch_5x/solr/core/src/test/org/apache/solr/search/json/TestJsonRequest.java
Sun Mar 22 19:09:18 2015
@@ -39,7 +39,6 @@ public class TestJsonRequest extends Sol
   public static void initServers() throws Exception {
     if (servers == null) {
       servers = new SolrInstances(3, "solrconfig-tlog.xml","schema_latest.xml");
-      servers = null;
     }
   }
 
@@ -48,6 +47,7 @@ public class TestJsonRequest extends Sol
     JSONTestUtil.failRepeatedKeys = false;
     if (servers != null) {
       servers.stop();
+      servers = null;
     }
   }
 



Mime
View raw message