Skip to content

Commit

Permalink
'#1859 Some cache entries of DATA_STREAM_FILE type are saved with their
Browse files Browse the repository at this point in the history
file extension. So, the search must look for these files.
  • Loading branch information
patrickdalla committed Nov 7, 2023
1 parent 325de73 commit 8b094e2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ public InputStream getInputStream(List<IItemReader> dataFiles, List<IItemReader>
switch (fileType) {
case DATA_STREAM_FILE:
for (IItemReader extFile : externalFiles)
if (extFile.getName().equals(fileNameStr)) {
if (extFile.getName().equals(fileNameStr) || extFile.getName().startsWith(fileNameStr + ".")) {
return extFile.getBufferedInputStream();
}
break;
Expand Down

0 comments on commit 8b094e2

Please sign in to comment.