lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From uschind...@apache.org
Subject svn commit: r1023386 - /lucene/dev/trunk/lucene/src/java/org/apache/lucene/search/FieldCacheImpl.java
Date Sat, 16 Oct 2010 22:27:52 GMT
Author: uschindler
Date: Sat Oct 16 22:27:52 2010
New Revision: 1023386

URL: http://svn.apache.org/viewvc?rev=1023386&view=rev
Log:
fix compile failure in Ryan's commit (LUCENE-2671)

Modified:
    lucene/dev/trunk/lucene/src/java/org/apache/lucene/search/FieldCacheImpl.java

Modified: lucene/dev/trunk/lucene/src/java/org/apache/lucene/search/FieldCacheImpl.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/src/java/org/apache/lucene/search/FieldCacheImpl.java?rev=1023386&r1=1023385&r2=1023386&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/src/java/org/apache/lucene/search/FieldCacheImpl.java (original)
+++ lucene/dev/trunk/lucene/src/java/org/apache/lucene/search/FieldCacheImpl.java Sat Oct
16 22:27:52 2010
@@ -356,12 +356,12 @@ public class FieldCacheImpl implements F
   }
 
   public DocTermsIndex getTermsIndex(IndexReader reader, String field) throws IOException
{    
-    return getTermsIndex(reader, field, new DocTermsIndexCreator<DocTermsIndex>( field
) );
+    return getTermsIndex(reader, field, new DocTermsIndexCreator(field));
   }
 
   public DocTermsIndex getTermsIndex(IndexReader reader, String field, boolean fasterButMoreRAM)
throws IOException {    
-    return getTermsIndex(reader, field, new DocTermsIndexCreator<DocTermsIndex>( field,

-        fasterButMoreRAM ? DocTermsIndexCreator.FASTER_BUT_MORE_RAM : 0 ) );
+    return getTermsIndex(reader, field, new DocTermsIndexCreator(field, 
+        fasterButMoreRAM ? DocTermsIndexCreator.FASTER_BUT_MORE_RAM : 0));
   }
 
   @SuppressWarnings("unchecked")
@@ -372,12 +372,12 @@ public class FieldCacheImpl implements F
   // TODO: this if DocTermsIndex was already created, we
   // should share it...
   public DocTerms getTerms(IndexReader reader, String field) throws IOException {
-    return getTerms(reader, field, new DocTermsCreator<DocTerms>( field ) );
+    return getTerms(reader, field, new DocTermsCreator(field));
   }
 
   public DocTerms getTerms(IndexReader reader, String field, boolean fasterButMoreRAM) throws
IOException {
-    return getTerms(reader, field, new DocTermsCreator<DocTerms>( field,
-        fasterButMoreRAM ? DocTermsCreator.FASTER_BUT_MORE_RAM : 0 ) );
+    return getTerms(reader, field, new DocTermsCreator(field,
+        fasterButMoreRAM ? DocTermsCreator.FASTER_BUT_MORE_RAM : 0));
   }
 
   @SuppressWarnings("unchecked")



Mime
View raw message