From ac8daf291b44166b386f97f176dd9c5820fabcdd Mon Sep 17 00:00:00 2001 From: Andrei Selkin Date: Thu, 12 Nov 2015 23:32:07 +0300 Subject: [PATCH] doc: Correct xdoc/javadoc for ParameterNameCheck --- .../tools/checkstyle/checks/naming/ParameterNameCheck.java | 2 +- src/xdocs/config_naming.xml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) 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.