lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cutt...@apache.org
Subject cvs commit: jakarta-lucene/src/java/org/apache/lucene/search WildcardTermEnum.java
Date Thu, 23 Sep 2004 16:43:47 GMT
cutting     2004/09/23 09:43:47

  Modified:    src/java/org/apache/lucene/search WildcardTermEnum.java
  Log:
  Remvoe dead code that GCJ doesn't like.
  
  Revision  Changes    Path
  1.10      +4 -5      jakarta-lucene/src/java/org/apache/lucene/search/WildcardTermEnum.java
  
  Index: WildcardTermEnum.java
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene/src/java/org/apache/lucene/search/WildcardTermEnum.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- WildcardTermEnum.java	13 Aug 2004 18:26:43 -0000	1.9
  +++ WildcardTermEnum.java	23 Sep 2004 16:43:47 -0000	1.10
  @@ -99,9 +99,9 @@
     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 @@
           }
         }
         return false;
  -    }
     }
   
     public void close() throws IOException
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org


Mime
View raw message