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
The old scope of the try block in ArgsParser::parse
is too permissive, making it less apparent which
methods throw the associated exceptions.
Let's reduce the scope of the try block in
ArgsParser::parse.
RepoSense/src/main/java/reposense/parser/ArgsParser.java
Lines 260 to 261 in 53d5197
Currently, the above
try
block covers the entire method. The scope of it should be reduced to cover only the method/s that throw these exceptions.The text was updated successfully, but these errors were encountered: