-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/62659/
-----------------------------------------------------------

(Updated Oct. 2, 2017, 9:40 a.m.)


Review request for ranger.


Changes
-------

Whitespace cleanup


Bugs: RANGER-1814
    https://issues.apache.org/jira/browse/RANGER-1814


Repository: ranger


Description
-------

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


Diffs (updated)
-----

  
agents-audit/src/main/java/org/apache/ranger/audit/provider/LocalFileLogBuffer.java
 56a24ed61 


Diff: https://reviews.apache.org/r/62659/diff/2/

Changes: https://reviews.apache.org/r/62659/diff/1-2/


Testing
-------

Tested locally, travis build: 
https://travis-ci.org/gzsombor/ranger/builds/280822647


Thanks,

Zsombor Gegesy

Reply via email to