Showing posts with label Checkstyle. Show all posts
Showing posts with label Checkstyle. Show all posts

@SuppressWarnings not working with checkstyle

Posted on by Kim

Remember to add SuppressWarningsHolder insite the TreeWalker as:

  <module name="TreeWalker">
     .
     .
     .
     <module name="SuppressWarningsHolder" />
  </module>

Removing Trailing Spaces from JavaDoc in Eclipse

Posted on by Kim

In the project I working on we wanted to add some code formatting. Therefore I installed the following Eclipse plugin: eclipse-cs

But that gave at lot of warnings. Some could be removed by the formatter and some manually. But the I got a warning in almost all JavaDoc saying Line has trailing spaces. Could not get Eclips' formatter to removed them so I googled a bit a found this nice plugin: AnyEdit tools.

That did the job :-)