Skip to content

Commit 0390d81

Browse files
committed
Remove redundant call to Objects.requireNonNull()
1 parent 644870b commit 0390d81

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/main/java/org/apache/commons/io/FileUtils.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1415,7 +1415,6 @@ public static void forceDelete(final File file) throws IOException {
14151415
* @throws IOException in case deletion is unsuccessful.
14161416
*/
14171417
private static void forceDelete(final File file, final boolean strict) throws IOException {
1418-
Objects.requireNonNull(file, PROTOCOL_FILE);
14191418
checkExists(file, strict); // fail-fast
14201419
final Counters.PathCounters deleteCounters;
14211420
try {

0 commit comments

Comments
 (0)