Class TodoCommentCheck

  • All Implemented Interfaces:
    Configurable, Contextualizable

    public class TodoCommentCheck
    extends AbstractCheck

    A check for 'TODO:' comments. To check for other patterns in Java comments, set property format.

    An example of how to configure the check is:

     <module name="TodoComment"/>
     

    An example of how to configure the check for comments that contain TODO or FIXMEis:

     <module name="TodoComment">
        <property name="format" value="(TODO)|(FIXME)"/>
     </module>
     
    Author:
    Oliver Burn, Baratali Izmailov