You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2018/05/17 20:20:00 UTC

[jira] [Created] (BEAM-4334) The Stream created in LocalFileSystem#matchOne should be closed

Ted Yu created BEAM-4334:
----------------------------

             Summary: 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: Kenneth Knowles


{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)