Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
rajapandi1234 committed Jul 23, 2024
1 parent 377caea commit 67a1b5a
Showing 1 changed file with 3 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -452,13 +452,9 @@ public static boolean isFileOlder(File file, Date date) {
* @throws IOException if an IO error occurs while checking the file.
*/
public static boolean isSymlink(File file) throws IOException {
try {
return org.apache.commons.io.FileUtils.isSymlink(file);
} catch (java.io.IOException e) {
throw new IOException(FileUtilConstants.IO_ERROR_CODE.getErrorCode(),
FileUtilConstants.IO_ERROR_CODE.getMessage(), e.getCause());
}
}
return org.apache.commons.io.FileUtils.isSymlink(file);
}


/**
* Allows iteration over the files in given directory (and optionally its sub
Expand Down

0 comments on commit 67a1b5a

Please sign in to comment.