From d91d78bc0f5863756c334c8d2afdf74447cfd4ae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lars=20K=C3=BChne?=
* An example of how to configure the check is: @@ -52,7 +52,7 @@ import org.apache.regexp.RE; * <check * classname="com.puppycrawl.tools.checkstyle.checks.JavadocMethodCheck"/> * - *
An example of how to configure the check to check for unused imports + *
An example of how to configure the check to check for unused imports * and for the {@link Scope#PUBLIC} scope is: *
*
@@ -79,15 +79,6 @@ public class JavadocMethodCheck
private static final RE MATCH_JAVADOC_ARG =
Utils.createRE(MATCH_JAVADOC_ARG_PAT);
- /**
- * the pattern to match a single line comment containing only the comment
- * itself -- no code.
- **/
- private static final String MATCH_SINGLELINE_COMMENT_PAT = "^\\s*//.*$";
- /** compiled regexp to match a single-line comment line **/
- private static final RE MATCH_SINGLELINE_COMMENT =
- Utils.createRE(MATCH_SINGLELINE_COMMENT_PAT);
-
/**
* the pattern to match the first line of a multi-line Javadoc
* tag that takes an argument. Javadoc with no arguments isn't