systemml-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SYSTEMML-1738) InputStream should be closed in ScriptFactory#scriptFromInputStream
Date Wed, 28 Jun 2017 21:39:00 GMT
Ted Yu created SYSTEMML-1738:
--------------------------------

             Summary: InputStream should be closed in ScriptFactory#scriptFromInputStream
                 Key: SYSTEMML-1738
                 URL: https://issues.apache.org/jira/browse/SYSTEMML-1738
             Project: SystemML
          Issue Type: Bug
            Reporter: Ted Yu
            Priority: Minor


{code}
  private static Script scriptFromInputStream(InputStream inputStream, ScriptType scriptType)
{
    String scriptString = getScriptStringFromInputStream(inputStream);
    return scriptFromString(scriptString, scriptType);
{code}
inputStream should be closed after reading is complete.



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

Mime
View raw message