You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@opennlp.apache.org by "Joern Kottmann (JIRA)" <ji...@apache.org> on 2015/01/28 11:17:34 UTC
[jira] [Updated] (OPENNLP-745) ObjectStream should extend
AutoClosable
[ https://issues.apache.org/jira/browse/OPENNLP-745?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joern Kottmann updated OPENNLP-745:
-----------------------------------
Issue Type: Improvement (was: Bug)
> ObjectStream should extend AutoClosable
> ---------------------------------------
>
> Key: OPENNLP-745
> URL: https://issues.apache.org/jira/browse/OPENNLP-745
> Project: OpenNLP
> Issue Type: Improvement
> Reporter: Joern Kottmann
> Priority: Minor
>
> An ObjectStream is usually connected to an underlying system resource that must be closed. In Java 7 the new try-with-resources statement was introduced. In order to use it with the streams the ObjectStream interface has to extend the AutoCloseable interface.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)