You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This diff makes the code not compilable because the catch has nothing to catch:
try {
- if (false) {
- methodThatThrowsFileNotFoundException();
- } else {
- methodThatDoesNotThrowFileNotFoundException();
- }
+ methodThatDoesNotThrowFileNotFoundException();
} catch (FileNotFoundException e) {
throw new IllegalFileException("can not write", e);
}
I understand that fixing this requires exception flow analysis.
What is the state of control flow analysis in AutoRefactor?
Is there support for exception flow analysis?
The text was updated successfully, but these errors were encountered:
This diff makes the code not compilable because the catch has nothing to catch:
I understand that fixing this requires exception flow analysis.
What is the state of control flow analysis in AutoRefactor?
Is there support for exception flow analysis?
The text was updated successfully, but these errors were encountered: