[
https://issues.apache.org/jira/browse/BEAM-2987?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ismaël Mejía resolved BEAM-2987.
--------------------------------
Resolution: Invalid
Fix Version/s: Not applicable
TikaIO does not have a Source anymore.
> 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: io-java-tika
> Reporter: Ted Yu
> Priority: Minor
> Fix For: Not applicable
>
>
> 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
(v7.6.3#76005)