1 /*xml 2 <module name="Checker"> 3 <module name="TreeWalker"> 4 <module name="TodoComment"/> 5 </module> 6 </module> 7 */ 8 package com.puppycrawl.tools.checkstyle.checks.todocomment; 9 10 // xdoc section -- start 11 public class Example1 { 12 int i; 13 int x; 14 public void test() { 15 i++; // TODO: do differently in future // violation 16 i++; // todo: do differently in future 17 i=i/x; // FIXME: handle x = 0 case 18 i=i/x; // FIX : handle x = 0 case 19 } 20 } 21 // xdoc section -- end