lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From uschind...@apache.org
Subject svn commit: r888322 - /lucene/java/branches/flex_1458/src/java/org/apache/lucene/search/PrefixTermsEnum.java
Date Tue, 08 Dec 2009 11:02:50 GMT
Author: uschindler
Date: Tue Dec  8 11:02:50 2009
New Revision: 888322

URL: http://svn.apache.org/viewvc?rev=888322&view=rev
Log:
remove unneeded protected method in PrefixTermsEnum

Modified:
    lucene/java/branches/flex_1458/src/java/org/apache/lucene/search/PrefixTermsEnum.java

Modified: lucene/java/branches/flex_1458/src/java/org/apache/lucene/search/PrefixTermsEnum.java
URL: http://svn.apache.org/viewvc/lucene/java/branches/flex_1458/src/java/org/apache/lucene/search/PrefixTermsEnum.java?rev=888322&r1=888321&r2=888322&view=diff
==============================================================================
--- lucene/java/branches/flex_1458/src/java/org/apache/lucene/search/PrefixTermsEnum.java
(original)
+++ lucene/java/branches/flex_1458/src/java/org/apache/lucene/search/PrefixTermsEnum.java
Tue Dec  8 11:02:50 2009
@@ -32,19 +32,13 @@
  */
 public class PrefixTermsEnum extends FilteredTermsEnum {
 
-  private final Term prefix;
   private final TermRef prefixRef;
 
   public PrefixTermsEnum(IndexReader reader, Term prefix) throws IOException {
     super(reader, prefix.field());
-    this.prefix = prefix;
     setInitialSeekTerm(prefixRef = new TermRef(prefix.text()));
   }
 
-  protected Term getPrefixTerm() {
-    return prefix;
-  }
-
   @Override
   protected AcceptStatus accept(TermRef term) {
     if (term.startsWith(prefixRef)) {



Mime
View raw message