You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kylin.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2016/09/25 17:31:20 UTC

[jira] [Created] (KYLIN-2051) Potentially ineffective call to IOUtils.closeQuietly()

Ted Yu created KYLIN-2051:
-----------------------------

             Summary: Potentially ineffective call to IOUtils.closeQuietly()
                 Key: KYLIN-2051
                 URL: https://issues.apache.org/jira/browse/KYLIN-2051
             Project: Kylin
          Issue Type: Bug
            Reporter: Ted Yu
            Priority: Minor


Here is an example from ZipFileUtils.java :
{code}
                IOUtils.copy(zipInputStream, outputStream);
                IOUtils.closeQuietly(outputStream);
{code}
IOUtils.copy() may throw IOE, leaving IOUtils.closeQuietly() ineffective.

This problem may be in other classes too.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)