IG: "Empty catch block" feature lost?

Am I dreaming or did this inspection at one time have a way to ignore the error if the variable was named ignore/ignored on an empty catch block?

Thanks,
Jon

0
Avatar
Permanently deleted user

No. The ignore/ignored usage disables the "Unused catch parameter" inspection, not "empty catch block"

--Dave Griffith

null

0
Avatar
Permanently deleted user

Hmm. Could/should ignore(d) also apply to Empty catch block?

0

You are probably right. It will be an option for both the "Unused catch parameter" and "Empty catch block" inspections in the first EAP of 6.5.

Bas

0

请先登录再写评论。