1 package org.checkstyle.suppressionxpathfilter.needbraces; 2 3 public class InputXpathNeedBracesEmptyLoopBody { 4 private int incrementValue() { 5 return 1; 6 } 7 8 public void test() { 9 while(incrementValue() < 5);; // warn 10 } 11 }