lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mikemcc...@apache.org
Subject svn commit: r1195012 - /lucene/dev/branches/lucene2621/lucene/src/java/org/apache/lucene/index/codecs/DefaultDocValuesProducer.java
Date Sat, 29 Oct 2011 20:07:11 GMT
Author: mikemccand
Date: Sat Oct 29 20:07:10 2011
New Revision: 1195012

URL: http://svn.apache.org/viewvc?rev=1195012&view=rev
Log:
TestDemo passing again

Modified:
    lucene/dev/branches/lucene2621/lucene/src/java/org/apache/lucene/index/codecs/DefaultDocValuesProducer.java

Modified: lucene/dev/branches/lucene2621/lucene/src/java/org/apache/lucene/index/codecs/DefaultDocValuesProducer.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene2621/lucene/src/java/org/apache/lucene/index/codecs/DefaultDocValuesProducer.java?rev=1195012&r1=1195011&r2=1195012&view=diff
==============================================================================
--- lucene/dev/branches/lucene2621/lucene/src/java/org/apache/lucene/index/codecs/DefaultDocValuesProducer.java
(original)
+++ lucene/dev/branches/lucene2621/lucene/src/java/org/apache/lucene/index/codecs/DefaultDocValuesProducer.java
Sat Oct 29 20:07:10 2011
@@ -37,7 +37,7 @@ import org.apache.lucene.util.IOUtils;
  * @lucene.experimental
  */
 public class DefaultDocValuesProducer extends DocValuesReaderBase {
-  protected final TreeMap<String, IndexDocValues> docValues;
+  protected final TreeMap<String,IndexDocValues> docValues;
   private final Directory cfs;
 
   /**
@@ -52,7 +52,7 @@ public class DefaultDocValuesProducer ex
       docValues = load(state.fieldInfos, state.segmentInfo.name, state.segmentInfo.docCount,
cfs, state.formatId, state.context);
     } else {
       cfs = null;
-      docValues = null;
+      docValues = new TreeMap<String,IndexDocValues>();
     }
   }
   



Mime
View raw message