You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by no...@apache.org on 2015/03/24 16:48:30 UTC

svn commit: r1668924 - /lucene/dev/branches/branch_5x/solr/core/src/test/org/apache/solr/handler/TestSolrConfigHandlerConcurrent.java

Author: noble
Date: Tue Mar 24 15:48:30 2015
New Revision: 1668924

URL: http://svn.apache.org/r1668924
Log:
NPE fix in TestSolrConfigHandlerConcurrent

Modified:
    lucene/dev/branches/branch_5x/solr/core/src/test/org/apache/solr/handler/TestSolrConfigHandlerConcurrent.java

Modified: lucene/dev/branches/branch_5x/solr/core/src/test/org/apache/solr/handler/TestSolrConfigHandlerConcurrent.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_5x/solr/core/src/test/org/apache/solr/handler/TestSolrConfigHandlerConcurrent.java?rev=1668924&r1=1668923&r2=1668924&view=diff
==============================================================================
--- lucene/dev/branches/branch_5x/solr/core/src/test/org/apache/solr/handler/TestSolrConfigHandlerConcurrent.java (original)
+++ lucene/dev/branches/branch_5x/solr/core/src/test/org/apache/solr/handler/TestSolrConfigHandlerConcurrent.java Tue Mar 24 15:48:30 2015
@@ -116,7 +116,7 @@ public class TestSolrConfigHandlerConcur
     boolean success = true;
 
     for (List e : collectErrors) {
-      if(!e.isEmpty()){
+      if (e != null && !e.isEmpty()) {
         success = false;
         log.error(e.toString());
       }