justinmclean opened a new issue, #7249:
URL: https://github.com/apache/gravitino/issues/7249
### What would you like to be improved?
in
clients/filesystem-hadoop3/src/main/java/org/apache/gravitino/filesystem/hadoop/GravitinoVirtualFileSystem.java
in this code:
```
} catch (IOException e) {
if (e instanceof FilesetPathNotFoundException) {
throw (FilesetPathNotFoundException) e;
}
throw e;
}
```
There not need to use instance of but the FilesetPathNotFoundException
exception can be caught.
### How should we improve?
Given both exceptions just throw e, there is probably no need for the code
at all.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]