[
https://issues.apache.org/jira/browse/BEAM-4334?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kenneth Knowles reassigned BEAM-4334:
-------------------------------------
Assignee: Chamikara Jayalath (was: Kenneth Knowles)
> The Stream created in LocalFileSystem#matchOne should be closed
> ---------------------------------------------------------------
>
> Key: BEAM-4334
> URL: https://issues.apache.org/jira/browse/BEAM-4334
> Project: Beam
> Issue Type: Bug
> Components: sdk-java-core
> Reporter: Ted Yu
> Assignee: Chamikara Jayalath
> Priority: Minor
>
> {code}
> Iterable<File> matchedFiles =
> StreamSupport.stream(files.spliterator(), false)
> .filter(
> {code}
> After result is populated, matchedFiles should be closed.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)