lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dna...@apache.org
Subject cvs commit: jakarta-lucene/src/java/org/apache/lucene/search FieldCacheImpl.java
Date Thu, 30 Sep 2004 19:10:26 GMT
dnaber      2004/09/30 12:10:26

  Modified:    src/java/org/apache/lucene/search Tag: lucene_1_4_2_dev
                        FieldCacheImpl.java
  Log:
  backport Christoph's fix for a wrong cast
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.3.2.1   +2 -2      jakarta-lucene/src/java/org/apache/lucene/search/FieldCacheImpl.java
  
  Index: FieldCacheImpl.java
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene/src/java/org/apache/lucene/search/FieldCacheImpl.java,v
  retrieving revision 1.3
  retrieving revision 1.3.2.1
  diff -u -r1.3 -r1.3.2.1
  --- FieldCacheImpl.java	21 Jul 2004 19:05:46 -0000	1.3
  +++ FieldCacheImpl.java	30 Sep 2004 19:10:26 -0000	1.3.2.1
  @@ -388,7 +388,7 @@
         store (reader, field, SortField.CUSTOM, retArray);
         return retArray;
       }
  -    return (String[]) ret;
  +    return (Comparable[]) ret;
     }
   
   }
  
  
  

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