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


The following commit(s) were added to refs/heads/master by this push:
     new 64945d5db [IO-872] PathUtils.directoryAndFileContentEquals doesn't 
work across FileSystems
64945d5db is described below

commit 64945d5dbc74452c49cbb8e18025371ce1066232
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Fri Apr 4 09:36:45 2025 -0400

    [IO-872] PathUtils.directoryAndFileContentEquals doesn't work across
    FileSystems
    
    - Remove WIP comment
---
 src/main/java/org/apache/commons/io/file/PathUtils.java | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/main/java/org/apache/commons/io/file/PathUtils.java 
b/src/main/java/org/apache/commons/io/file/PathUtils.java
index 460234bc7..a9f6bea2e 100644
--- a/src/main/java/org/apache/commons/io/file/PathUtils.java
+++ b/src/main/java/org/apache/commons/io/file/PathUtils.java
@@ -134,7 +134,6 @@ private static boolean equalsIgnoreFileSystem(final Path 
path1, final Path path2
             }
             // Compare paths from different file systems component by 
component.
             return extractKey(separator1, 
string1).equals(extractKey(separator2, string2));
-            //return Arrays.equals(string1.split("\\" + separator1), 
string2.split("\\" + separator2));
         }
 
         static String extractKey(final String separator, final String string) {

Reply via email to