Uploaded image for project: 'Flume'
  1. Flume
  2. FLUME-764

Use File.deleteOnExit on dirs instead of try/finally rmr.

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 0.9.4
    • Fix Version/s: 0.9.5
    • Component/s: Easy, Technical Debt, Test
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jmhsieh Jonathan Hsieh
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: