lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ehatc...@apache.org
Subject cvs commit: jakarta-lucene/src/java/org/apache/lucene/queryParser QueryParser.java QueryParser.jj
Date Thu, 09 Oct 2003 01:22:21 GMT
ehatcher    2003/10/08 18:22:21

  Modified:    src/java/org/apache/lucene/queryParser QueryParser.java
                        QueryParser.jj
  Log:
  #7782 - an ancient.  this seems like the right thing to do, all relevant tests still pass
  
  Revision  Changes    Path
  1.6       +7 -0      jakarta-lucene/src/java/org/apache/lucene/queryParser/QueryParser.java
  
  Index: QueryParser.java
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene/src/java/org/apache/lucene/queryParser/QueryParser.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- QueryParser.java	3 Oct 2003 15:40:40 -0000	1.5
  +++ QueryParser.java	9 Oct 2003 01:22:21 -0000	1.6
  @@ -238,6 +238,13 @@
           break;
         v.addElement(t.termText());
       }
  +    try {
  +      source.close();
  +    }
  +    catch (IOException e) {
  +      // ignore
  +    }
  +
       if (v.size() == 0)
         return null;
       else if (v.size() == 1)
  
  
  
  1.34      +7 -0      jakarta-lucene/src/java/org/apache/lucene/queryParser/QueryParser.jj
  
  Index: QueryParser.jj
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene/src/java/org/apache/lucene/queryParser/QueryParser.jj,v
  retrieving revision 1.33
  retrieving revision 1.34
  diff -u -r1.33 -r1.34
  --- QueryParser.jj	3 Oct 2003 15:40:40 -0000	1.33
  +++ QueryParser.jj	9 Oct 2003 01:22:21 -0000	1.34
  @@ -300,6 +300,13 @@
           break;
         v.addElement(t.termText());
       }
  +    try {
  +      source.close();
  +    }
  +    catch (IOException e) {
  +      // ignore
  +    }
  +
       if (v.size() == 0)
         return null;
       else if (v.size() == 1)
  
  
  

---------------------------------------------------------------------
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