Use File.deleteOnExit on dirs instead of try/finally rmr.
---------------------------------------------------------
Key: FLUME-764
URL: https://issues.apache.org/jira/browse/FLUME-764
Project: Flume
Issue Type: Improvement
Components: Easy, Technical Debt, Test
Affects Versions: v0.9.4
Reporter: Jonathan Hsieh
It was pointed out in a code review that File.deleteOnExit() works on
directories. Most test cases using temp files don't use this idiom and it
seems like a really good one to use.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira