diff --git a/src/main/java/com/puppycrawl/tools/checkstyle/checks/naming/ParameterNameCheck.java b/src/main/java/com/puppycrawl/tools/checkstyle/checks/naming/ParameterNameCheck.java index aa22c60ba..20527fa7e 100644 --- a/src/main/java/com/puppycrawl/tools/checkstyle/checks/naming/ParameterNameCheck.java +++ b/src/main/java/com/puppycrawl/tools/checkstyle/checks/naming/ParameterNameCheck.java @@ -24,7 +24,7 @@ import com.puppycrawl.tools.checkstyle.api.TokenTypes; /** *

- * Checks that parameter names conform to a format specified + * Checks that method and catch parameter names conform to a format specified * by the format property. The format is a * {@link java.util.regex.Pattern regular expression} * and defaults to diff --git a/src/xdocs/config_naming.xml b/src/xdocs/config_naming.xml index f417cb848..f84615a02 100644 --- a/src/xdocs/config_naming.xml +++ b/src/xdocs/config_naming.xml @@ -915,7 +915,8 @@ class MyClass {

- Validates identifiers for parameters. + Checks that method and catch parameter names conform to a format specified + by the format property.