Remvoe dead code that GCJ doesn't like.

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150533 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Doug Cutting 2004-09-23 16:43:47 +00:00
parent a69db22983
commit a71929fe4e
1 changed files with 3 additions and 4 deletions

View File

@ -99,9 +99,9 @@ public class WildcardTermEnum extends FilteredTermEnum {
public static final boolean wildcardEquals(String pattern, int patternIdx,
String string, int stringIdx)
{
for (int p = patternIdx; ; ++p)
{
for (int s = stringIdx; ; ++p, ++s)
int p = patternIdx;
for (int s = stringIdx; ; ++p, ++s)
{
// End of string yet?
boolean sEnd = (s >= string.length());
@ -178,7 +178,6 @@ public class WildcardTermEnum extends FilteredTermEnum {
}
}
return false;
}
}
public void close() throws IOException