Gary D. Gregory created IO-888:
----------------------------------

             Summary: FileUtils cleanDirectory deletes all subdirectories and 
files, not just files.
                 Key: IO-888
                 URL: https://issues.apache.org/jira/browse/IO-888
             Project: Commons IO
          Issue Type: Bug
          Components: Utilities
    Affects Versions: 2.16.1
            Reporter: Dmitry


The PathUtils.cleanDirectory method does not erase subdirectories. Only the 
files in them. The FileUtils.cleanDirectory method erases everything except the 
directory itself, and this is the expected behavior.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to