IG: Unused Catch Parameter

Is this reasonable??

When unused catch parameter is enabled at the same time as "Empty catch block", and we check the "comments count as content" checkbox, unused parameters should be ignored for empty catch blocks where there are comments in the catch block.


Comment actions Permalink

Unfortunately, the inspection API doesn't allow one inspection to test whether another inspection is enabled. I could add a "ignore for empty catch blocks with comments" checkbox, but that seems a little extreme. Put this in the tracker, but I'm going to defer implementation until I hear whether a general "ignore this error" mechanism is present in Irida, as has been rumored.

--Dave Griffith


Please sign in to leave a comment.