Uploaded image for project: 'Spring Framework'
  1. Spring Framework
  2. SPR-15846

FileSystemUtils.deleteRecursively always returns false

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Complete
    • 5.0 RC3
    • 5.0 RC4
    • Core
    • true

    Description

      The root is deleted in postVisitDirectory by a call to Files.delete(dir). Once the walking of the file tree has completed Files.deleteIfExists(root) is called and its result is returned. This result is always false due to the earlier File.delete(dir) call.

      Attachments

        Issue Links

          Activity

            People

              juergen.hoeller Juergen Hoeller
              awilkinson Andy Wilkinson
              Spring Issues Spring Issues
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                3 years, 38 weeks, 1 day ago