We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 644870b commit 0390d81Copy full SHA for 0390d81
src/main/java/org/apache/commons/io/FileUtils.java
@@ -1415,7 +1415,6 @@ public static void forceDelete(final File file) throws IOException {
1415
* @throws IOException in case deletion is unsuccessful.
1416
*/
1417
private static void forceDelete(final File file, final boolean strict) throws IOException {
1418
- Objects.requireNonNull(file, PROTOCOL_FILE);
1419
checkExists(file, strict); // fail-fast
1420
final Counters.PathCounters deleteCounters;
1421
try {
0 commit comments