JAL-1854 distinct messages for TODO/FIXME and DOCUMENT ME
authorgmungoc <g.m.carstairs@dundee.ac.uk>
Fri, 2 Sep 2016 15:21:49 +0000 (16:21 +0100)
committergmungoc <g.m.carstairs@dundee.ac.uk>
Fri, 2 Sep 2016 15:21:49 +0000 (16:21 +0100)
utils/checkstyle/checkstyle.xml

index 8a5f14f..85ac8e6 100644 (file)
                        Check for TODO and similar comments 
                -->
                <module name="TodoComment">
-                       <property name="format" value="(TODO)|(FIXME)|(DOCUMENT ME)"/>
+                       <property name="format" value="(TODO)|(FIXME)"/>
+                       <message key="todo.match" value="TODO or FIXME comment"/>
+               </module>
+
+               <module name="TodoComment">
+                       <property name="format" value="DOCUMENT ME"/>
+                       <message key="todo.match" value="Documentation incomplete"/>
                </module>
 
        </module>