You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@systemml.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2017/07/05 21:44:00 UTC
[jira] [Updated] (SYSTEMML-1738) InputStream should be closed in
ScriptFactory#scriptFromInputStream
[ 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)