- Minor javadoc improvement, but primarily reindented weird indentation and

replaces tabs with four spaces.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150009 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Otis Gospodnetic 2003-09-10 10:04:47 +00:00
parent 1f9fe4fff7
commit d59ac9481e

View File

@ -65,6 +65,8 @@ import org.apache.lucene.index.Term;
* <p> * <p>
* Term enumerations are always ordered by Term.compareTo(). Each term in * Term enumerations are always ordered by Term.compareTo(). Each term in
* the enumeration is greater than all that precede it. * the enumeration is greater than all that precede it.
*
* @version $Id$
*/ */
public class WildcardTermEnum extends FilteredTermEnum { public class WildcardTermEnum extends FilteredTermEnum {
Term searchTerm; Term searchTerm;
@ -77,7 +79,7 @@ public class WildcardTermEnum extends FilteredTermEnum {
/** /**
* Creates a new <code>WildcardTermEnum</code>. Passing in a * Creates a new <code>WildcardTermEnum</code>. Passing in a
* {@link org.apache.lucene.index.Term} that does not contain a * {@link org.apache.lucene.index.Term Term} that does not contain a
* <code>WILDCARD_CHAR</code> will cause an exception to be thrown. * <code>WILDCARD_CHAR</code> will cause an exception to be thrown.
*/ */
public WildcardTermEnum(IndexReader reader, Term term) throws IOException { public WildcardTermEnum(IndexReader reader, Term term) throws IOException {
@ -162,8 +164,7 @@ public class WildcardTermEnum extends FilteredTermEnum {
// If it's not a wildcard character, then there is more // If it's not a wildcard character, then there is more
// pattern information after this/these wildcards. // pattern information after this/these wildcards.
if (wildchar != WILDCARD_CHAR && if (wildchar != WILDCARD_CHAR && wildchar != WILDCARD_STRING)
wildchar != WILDCARD_STRING)
{ {
justWildcardsLeft = false; justWildcardsLeft = false;
} }