Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.16.2
-
None
-
Unknown
Description
When splitting and using an iterator the usually hasNext -> next is paired so if hasNext returns true, then next returns data. But there can be situations where this is tricky to determine up front, and therefore a hasNext may return true, and then next() return null if there was no data really. Then the splitter should just skip that null and continue.
Attachments
Issue Links
- is related to
-
CAMEL-9735 camel-tarfile throws OutOfMemoryError when splitting large files
- Resolved
- relates to
-
CAMEL-9375 camel-tarfile - TarSplitter includes one extra empty entry at the end
- Resolved