1 /*xml
2 <module name="Checker">
3 <module name="FileLength">
4 <property name="max" value="5"/>
5 <property name="fileExtensions" value="txt"/>
6 </module>
7 </module>
8 */
9
10 package com.puppycrawl.tools.checkstyle.checks.sizes.filelength;
11
12 // xdoc section -- start
13 public class Example3 {
14 public void myTest() {
15 // small class with more than 5 lines
16 String test = "Some content"; // no violation as only txt files are validated
17 }
18 }
19 // xdoc section -- end