lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mikemcc...@apache.org
Subject svn commit: r769300 - /lucene/java/trunk/src/java/org/apache/lucene/analysis/tokenattributes/TermAttribute.java
Date Tue, 28 Apr 2009 08:46:25 GMT
Author: mikemccand
Date: Tue Apr 28 08:46:25 2009
New Revision: 769300

URL: http://svn.apache.org/viewvc?rev=769300&view=rev
Log:
LUCENE-1619: remove unnecessary initTermBuffer()

Modified:
    lucene/java/trunk/src/java/org/apache/lucene/analysis/tokenattributes/TermAttribute.java

Modified: lucene/java/trunk/src/java/org/apache/lucene/analysis/tokenattributes/TermAttribute.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/analysis/tokenattributes/TermAttribute.java?rev=769300&r1=769299&r2=769300&view=diff
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/analysis/tokenattributes/TermAttribute.java
(original)
+++ lucene/java/trunk/src/java/org/apache/lucene/analysis/tokenattributes/TermAttribute.java
Tue Apr 28 08:46:25 2009
@@ -171,7 +171,6 @@
   /** Return number of valid characters (length of the term)
    *  in the termBuffer array. */
   public int termLength() {
-    initTermBuffer();
     return termLength;
   }
 



Mime
View raw message