Skip to content

Commit

Permalink
Update the comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
ayushtkn committed Sep 6, 2024
1 parent 8b2b286 commit 7724335
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ private void createDirIfNotExists(Path path) throws IOException {
try {
fileStatus = fileSystem.getFileStatus(path);
} catch (FileNotFoundException fnf) {
// ignore
// ignore: regardless of the outcome of FileSystem.getFileStatus call (exception or returning null),
// we handle the fileStatus == null case later on, so it's safe to ignore this exception now
}
try {
if (fileStatus == null) {
Expand Down

0 comments on commit 7724335

Please sign in to comment.