Issue #2451: deprecated AbstractIllegalMethodCheck
This commit is contained in:
parent
3fe171ec8a
commit
fbd3d53641
1
pom.xml
1
pom.xml
|
|
@ -1733,6 +1733,7 @@
|
|||
<exclude>com/puppycrawl/tools/checkstyle/checks/AbstractFormatCheck.class</exclude>
|
||||
<exclude>com/puppycrawl/tools/checkstyle/checks/AbstractDeclarationCollector*.class</exclude>
|
||||
<exclude>com/puppycrawl/tools/checkstyle/checks/coding/AbstractIllegalCheck.class</exclude>
|
||||
<exclude>com/puppycrawl/tools/checkstyle/checks/coding/AbstractIllegalMethodCheck.class</exclude>
|
||||
</excludes>
|
||||
</instrumentation>
|
||||
</configuration>
|
||||
|
|
|
|||
|
|
@ -26,8 +26,11 @@ import com.puppycrawl.tools.checkstyle.api.TokenTypes;
|
|||
/**
|
||||
* Provide support for checking for a method with a specified name and no
|
||||
* arguments.
|
||||
* @deprecated Checkstyle will not support abstract checks anymore. Use {@link Check} instead.
|
||||
* @author Oliver Burn
|
||||
* @noinspection AbstractClassNeverImplemented
|
||||
*/
|
||||
@Deprecated
|
||||
public abstract class AbstractIllegalMethodCheck extends Check {
|
||||
/** Name of method to disallow. */
|
||||
private final String methodName;
|
||||
|
|
|
|||
Loading…
Reference in New Issue