[ https://issues.apache.org/jira/browse/IO-857?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dmitry reopened IO-857: ----------------------- Please explain why there is such a difference in implementation between PathUilts and FileUtils > PathUtils.cleanDirectory method does not erase subdirectories > ------------------------------------------------------------- > > Key: IO-857 > URL: https://issues.apache.org/jira/browse/IO-857 > Project: Commons IO > Issue Type: Bug > Components: Utilities > Affects Versions: 2.16.1 > Reporter: Dmitry > Priority: Minor > > 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)