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)

Reply via email to