This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-io.git

commit 0390d812488ce50419cad50d970167f32fd42cfb
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Thu Nov 14 10:56:44 2024 -0500

    Remove redundant call to Objects.requireNonNull()
---
 src/main/java/org/apache/commons/io/FileUtils.java | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/main/java/org/apache/commons/io/FileUtils.java 
b/src/main/java/org/apache/commons/io/FileUtils.java
index f65b4f6f6..b3f19f241 100644
--- a/src/main/java/org/apache/commons/io/FileUtils.java
+++ b/src/main/java/org/apache/commons/io/FileUtils.java
@@ -1415,7 +1415,6 @@ public class FileUtils {
      * @throws IOException           in case deletion is unsuccessful.
      */
     private static void forceDelete(final File file, final boolean strict) 
throws IOException {
-        Objects.requireNonNull(file, PROTOCOL_FILE);
         checkExists(file, strict); // fail-fast
         final Counters.PathCounters deleteCounters;
         try {

Reply via email to