-
Bug
-
Resolution: Done
-
Major
-
4.0.0.Final, 4.1.0.BETA2
-
None
Set<String> filesList = getFileList();
return filesList.toArray(new String[filesList.size()]);
is wrong as the size() allocates an array of a size which is potentially bigger than the number of Strings it's going to contain, populating some null values in the resulting array (which angers Lucene quite a lot)