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] [Created] (OPENNLP-745) ObjectStream should extend AutoClosable

Joern Kottmann created OPENNLP-745:
--------------------------------------

             Summary: ObjectStream should extend AutoClosable
                 Key: OPENNLP-745
                 URL: https://issues.apache.org/jira/browse/OPENNLP-745
             Project: OpenNLP
          Issue Type: Bug
            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)