Ted Yu created BEAM-2987:
----------------------------

             Summary: Close of InputStream should be placed in finally block
                 Key: BEAM-2987
                 URL: https://issues.apache.org/jira/browse/BEAM-2987
             Project: Beam
          Issue Type: Bug
          Components: sdk-java-extensions
            Reporter: Ted Yu
            Assignee: Reuven Lax
            Priority: Minor


In TikaSource#TikaReader#start():
{code}
            try {
              parser.parse(is, tikaHandler, tikaMetadata, context);
              is.close();
{code}
The close() should be in finally block.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to