You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Zsombor Gegesy (JIRA)" <ji...@apache.org> on 2017/09/28 11:16:01 UTC

[jira] [Updated] (RANGER-1814) Static code analyser suggest to ensure closing Reader

     [ https://issues.apache.org/jira/browse/RANGER-1814?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zsombor Gegesy updated RANGER-1814:
-----------------------------------
    Attachment: 0001-RANGER-1814-Move-the-reader-into-a-local-variable-an.patch

> Static code analyser suggest to ensure closing Reader
> -----------------------------------------------------
>
>                 Key: RANGER-1814
>                 URL: https://issues.apache.org/jira/browse/RANGER-1814
>             Project: Ranger
>          Issue Type: Bug
>          Components: plugins
>    Affects Versions: 0.7.1
>            Reporter: Zsombor Gegesy
>            Assignee: Zsombor Gegesy
>            Priority: Minor
>              Labels: code-cleanup
>             Fix For: 1.0.0
>
>         Attachments: 0001-RANGER-1814-Move-the-reader-into-a-local-variable-an.patch
>
>
> Static code analyser flagged sendCurrentFile in LogFileLogBuffer as dubious BufferedReader usage - because it's not clear if that reader is closed properly. Suggested to move from instance variable to method local variable 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)