mirror of
https://github.com/apache/lucene.git
synced 2025-02-27 21:09:19 +00:00
- 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:
parent
1f9fe4fff7
commit
d59ac9481e
@ -65,6 +65,8 @@ import org.apache.lucene.index.Term;
|
||||
* <p>
|
||||
* Term enumerations are always ordered by Term.compareTo(). Each term in
|
||||
* the enumeration is greater than all that precede it.
|
||||
*
|
||||
* @version $Id$
|
||||
*/
|
||||
public class WildcardTermEnum extends FilteredTermEnum {
|
||||
Term searchTerm;
|
||||
@ -77,7 +79,7 @@ public class WildcardTermEnum extends FilteredTermEnum {
|
||||
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
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
|
||||
// pattern information after this/these wildcards.
|
||||
|
||||
if (wildchar != WILDCARD_CHAR &&
|
||||
wildchar != WILDCARD_STRING)
|
||||
if (wildchar != WILDCARD_CHAR && wildchar != WILDCARD_STRING)
|
||||
{
|
||||
justWildcardsLeft = false;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user