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] [Updated] (SYSTEMML-1738) InputStream should be closed in ScriptFactory#scriptFromInputStream
Date Wed, 05 Jul 2017 21:44:00 GMT

     [ https://issues.apache.org/jira/browse/SYSTEMML-1738?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ted Yu updated SYSTEMML-1738:
-----------------------------
    Description: 
{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.

  was:
{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.


> 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