Menu

#1 SuppressionCommentFilter doesn't seem to work

open
nobody
None
5
2006-01-19
2006-01-19
Anonymous
No

I recently upgraded from Checklipse 1.6.0 to
Checklipse 1.7.0

After upgrading I attempted to use the
SuppressionCommentFilter to suppress warnings for the
use of System.out.println. However the filter doesn't
seem to work.

I used in the default format in the Checker module as
follows

<module name="SuppressionCommentFilter"/>

Then in the code I wrapped the code as follows
// CHECKSTYLE:OFF
System.out.println("Some text here");
// CHECKSTYLE:ON

However this made no difference.

Am I using the filter properly or is this actually a
problem with the new plugin?

Thanks

Clare

Discussion


Log in to post a comment.

MongoDB Logo MongoDB