1 package org.checkstyle.suppressionxpathfilter.unnecessarysemicolonintrywithresources; 2 3 import java.io.PipedReader; 4 import java.io.Reader; 5 6 public class InputXpathUnnecessarySemicolonInTryWithResourcesNoBrace { 7 void test() throws Exception { 8 try(Reader good = new PipedReader();){} // warn 9 } 10 }