File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11<?xml version =" 1.0" ?>
22<!DOCTYPE module PUBLIC
3- "-//Checkstyle//DTD Checkstyle Configuration 1.3//EN"
4- "https://checkstyle.org/dtds/configuration_1_3.dtd">
3+ "-//Checkstyle//DTD Checkstyle Configuration 1.3//EN"
4+ "https://checkstyle.org/dtds/configuration_1_3.dtd">
55
66<!--
77 Based on google_checks.xml
162162 <property name =" option" value =" nl" />
163163 </module >
164164 <module name =" PackageName" >
165- <property name =" format" value =" ^[a-z]+(\.[a-z ][a-z0-9]*)*$" />
165+ <property name =" format" value =" ^[a-z]+(\.[a-z_ ][a-z0-9]*)*$" />
166166 <message key =" name.invalidPattern"
167167 value =" Package name ''{0}'' must match pattern ''{1}''." />
168168 </module >
305305 <property name =" scope" value =" public" />
306306 <property name =" minLineCount" value =" 2" />
307307 <property name =" allowedAnnotations" value =" Override, Test" />
308- <property name =" tokens" value =" METHOD_DEF, ANNOTATION_FIELD_DEF" />
308+ <property name =" tokens" value =" METHOD_DEF, CTOR_DEF, ANNOTATION_FIELD_DEF" />
309309 </module >
310310 <module name =" MethodName" >
311- <property name =" format" value =" ^[a-z][a-z0-9][a- zA-Z0-9_]*$" />
311+ <property name =" format" value =" ^[a-z][a-zA-Z0-9_]*$" />
312312 <message key =" name.invalidPattern"
313313 value =" Method name ''{0}'' must match pattern ''{1}''." />
314314 </module >
You can’t perform that action at this time.
0 commit comments