From 5d7226fac58883bc41058b28b8fcdb6f159cf1e2 Mon Sep 17 00:00:00 2001 From: Andrei Selkin Date: Wed, 9 Dec 2015 20:54:21 +0300 Subject: [PATCH] doc: Add example for ParameterName into xdoc --- src/xdocs/config_naming.xml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/xdocs/config_naming.xml b/src/xdocs/config_naming.xml index 0dbda1e34..9651d4fda 100644 --- a/src/xdocs/config_naming.xml +++ b/src/xdocs/config_naming.xml @@ -1034,6 +1034,15 @@ public boolean equals(Object o) { <property name="ignoreOverridden" value="true"/> </module> +

+ An example of how to configure the check for names that begin with + a lower case letter, followed by letters and digits is: +

+ +<module name="ParameterName"> + <property name="format" value="^[a-z][a-zA-Z0-9]+$"/> +</module> +