portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jf...@apache.org
Subject cvs commit: jakarta-jetspeed/src/java/org/apache/jetspeed/services/search/lucene LuceneSearchService.java
Date Wed, 19 May 2004 21:04:41 GMT
jford       2004/05/19 14:04:41

  Modified:    src/java/org/apache/jetspeed/services/search/lucene
                        LuceneSearchService.java
  Log:
  Fixed potential NPE
  
  PR: JS1-475
  
  Revision  Changes    Path
  1.11      +2 -2      jakarta-jetspeed/src/java/org/apache/jetspeed/services/search/lucene/LuceneSearchService.java
  
  Index: LuceneSearchService.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/services/search/lucene/LuceneSearchService.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- LuceneSearchService.java	5 Mar 2004 03:49:15 -0000	1.10
  +++ LuceneSearchService.java	19 May 2004 21:04:41 -0000	1.11
  @@ -356,7 +356,7 @@
           {
               String fieldName = (String)fieldIter.next();
               Field[] docFields = doc.getFields(fieldName);
  -            if(fields != null)
  +            if(docFields != null)
               {
                   for(int i=0; i<docFields.length; i++)
                   {
  
  
  

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


Mime
View raw message