Extra semicolon in catch block
I am reviewing the various coding styles of GitHub authors to learn and
get inspiration and this one is puzzling me. One author is consistently
using an extra semicolon within the catch statement.
catch (SpecificException e) {
;
}
when wanting to handle exception locally, I just write
catch (SpecificException e) {}
I think there is no difference between those two, so why one would use the
extra semicolon?
No comments:
Post a Comment