Skip to content

[IO-800] Fix back-incompatible change for PathUtils.deleteDirectory(): throw NoSuchFileException instead of IllegalArgumentException#459

Merged
garydgregory merged 3 commits intoapache:masterfrom
janhoy:fix-io-800
Jun 8, 2023
Merged

[IO-800] Fix back-incompatible change for PathUtils.deleteDirectory(): throw NoSuchFileException instead of IllegalArgumentException#459
garydgregory merged 3 commits intoapache:masterfrom
janhoy:fix-io-800

Conversation

@janhoy
Copy link
Contributor

@janhoy janhoy commented Jun 8, 2023

https://issues.apache.org/jira/browse/IO-800

On non-existing path. In earlier version it would throw NoSuchFileException but in 2.12.0 it changed behavior. This reverts one line change in dcb09db

@garydgregory garydgregory changed the title IO-800: Fix back-incompatible change for deleteDirectory IO-800: Fix back-incompatible change for PathUtils.deleteDirectory() should throw NoSuchFileException instead of IllegalArgumentException Jun 8, 2023
@garydgregory garydgregory changed the title IO-800: Fix back-incompatible change for PathUtils.deleteDirectory() should throw NoSuchFileException instead of IllegalArgumentException IO-800: Fix back-incompatible change for PathUtils.deleteDirectory(): throw NoSuchFileException instead of IllegalArgumentException Jun 8, 2023
@garydgregory garydgregory changed the title IO-800: Fix back-incompatible change for PathUtils.deleteDirectory(): throw NoSuchFileException instead of IllegalArgumentException [IO-800] Fix back-incompatible change for PathUtils.deleteDirectory(): throw NoSuchFileException instead of IllegalArgumentException Jun 8, 2023
@garydgregory garydgregory merged commit b9efbe5 into apache:master Jun 8, 2023
@janhoy janhoy deleted the fix-io-800 branch June 8, 2023 23:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments