From 3b71cc921a2aa9ec6813dbd851803674eafa2a9a Mon Sep 17 00:00:00 2001 From: Michael McCandless Date: Tue, 28 Apr 2009 08:46:25 +0000 Subject: [PATCH] LUCENE-1619: remove unnecessary initTermBuffer() git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@769300 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/lucene/analysis/tokenattributes/TermAttribute.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/java/org/apache/lucene/analysis/tokenattributes/TermAttribute.java b/src/java/org/apache/lucene/analysis/tokenattributes/TermAttribute.java index 8aa05071967..0642148f32e 100644 --- a/src/java/org/apache/lucene/analysis/tokenattributes/TermAttribute.java +++ b/src/java/org/apache/lucene/analysis/tokenattributes/TermAttribute.java @@ -171,7 +171,6 @@ public class TermAttribute extends Attribute implements Cloneable, Serializable /** Return number of valid characters (length of the term) * in the termBuffer array. */ public int termLength() { - initTermBuffer(); return termLength; }