[ https://issues.apache.org/jira/browse/LENS-1342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15581223#comment-15581223 ]
Hadoop QA commented on LENS-1342: --------------------------------- Applied patch: [1342.v1.txt|https://issues.apache.org/jira/secure/attachment/12833671/1342.v1.txt] and ran command: mvn clean install -fae. Result: Failure. Build Job: https://builds.apache.org/job/PreCommit-Lens-Build/1074/ > Unclosed InputStreamReader in PropertyBasedUserConfigLoader > ----------------------------------------------------------- > > Key: LENS-1342 > URL: https://issues.apache.org/jira/browse/LENS-1342 > Project: Apache Lens > Issue Type: Bug > Reporter: Ted Yu > Priority: Minor > Attachments: 1342.v1.txt > > > {code} > try { > properties.load(new InputStreamReader(new FileInputStream(new > File(filename)), "UTF-8")); > } catch (IOException e) { > throw new UserConfigLoaderException("property file not found. Provided > path was: " + filename); > } > {code} > The InputStreamReader should be closed upon return from the method. -- This message was sent by Atlassian JIRA (v6.3.4#6332)