[
https://issues.apache.org/jira/browse/LENS-1342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15597766#comment-15597766
]
Ted Yu edited comment on LENS-1342 at 10/31/16 7:47 PM:
--------------------------------------------------------
I don't think the RAT error was caused by my patch.
{code}
[ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.11:check
(rat-check) on project lens-python-client: Too many files with unapproved
license: 74 See RAT report in:
/home/jenkins/jenkins-slave/workspace/PreCommit-Lens-Build/contrib/clients/python/target/rat.txt
-> [Help 1]
{code}
was (Author: [email protected]):
I don't think the RAT error was caused by my patch.
{code}
[ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.11:check
(rat-check) on project lens-python-client: Too many files with unapproved
license: 74 See RAT report in:
/home/jenkins/jenkins-slave/workspace/PreCommit-Lens-Build/contrib/clients/python/target/rat.txt
-> [Help 1]
{code}
> 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)