Closed asaarilahti closed 1 year ago
Any reason for the switch from visitor to stream?
Any reason for the switch from visitor to stream?
Nothing major. I think the visitor is not that common nowadays, so streams might make the code easier to read.
Related to #332 - close file system also in case an exception is thrown. Unlikely to be an actual fix, but at least should rule out earlier failures as a cause.
Also switch from a visitor to a stream.