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)

Reply via email to