From 4b75ad4bd05363d24883f3187bcd56bcb88beed2 Mon Sep 17 00:00:00 2001 From: rnveach Date: Thu, 5 Nov 2015 07:45:37 -0500 Subject: [PATCH] Issue #2451: deprecated AbstractFormatCheck --- .../tools/checkstyle/checks/AbstractFormatCheck.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/puppycrawl/tools/checkstyle/checks/AbstractFormatCheck.java b/src/main/java/com/puppycrawl/tools/checkstyle/checks/AbstractFormatCheck.java index 1781a957e..7e7795520 100644 --- a/src/main/java/com/puppycrawl/tools/checkstyle/checks/AbstractFormatCheck.java +++ b/src/main/java/com/puppycrawl/tools/checkstyle/checks/AbstractFormatCheck.java @@ -31,9 +31,11 @@ import com.puppycrawl.tools.checkstyle.api.Check; * {@link Pattern regular expression}. It * provides support for setting the regular * expression using the property name {@code format}.

- * + * @deprecated Checkstyle will not support abstract checks anymore. Use {@link Check} instead. * @author Oliver Burn + * @noinspection AbstractClassNeverImplemented */ +@Deprecated public abstract class AbstractFormatCheck extends Check { /** The flags to create the regular expression with. */