From e5473df9d149f0367a36d78f58b78e19fabde1cb Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Tue, 6 Sep 2016 18:28:26 +0100 Subject: [PATCH] ForbidThrowAnonymouseExceptions: remove redundant check --- README.md | 10 +++++----- src/main/resources/net/kemitix/checkstyle.xml | 1 - 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 486dc5b..4864f4d 100644 --- a/README.md +++ b/README.md @@ -142,7 +142,7 @@ You need to include `checkstyle` as the version bundled with the `maven-checksty * [ForbidCertainImports](#forbidcertainimports) - sevntu - disabled * [ForbidInstantiation](#forbidinstantiation) - sevntu - disabled * [ForbidReturnInFinallyBlock](#forbidreturninfinallyblock) - sevntu - enabled -* [ForbidThrowAnonymousExceptions](#forbidthrowanonymousexceptions) - sevntu - enabled +* [ForbidThrowAnonymousExceptions](#forbidthrowanonymousexceptions) - sevntu - disabled * [ForbidWildcardAsReturnType](#forbidwildcardasreturntype) - sevntu - enabled * [GenericWhitespace](#genericwhitespace) - checkstyle - enabled * [Header](#header) - checkstyle - disabled @@ -2334,10 +2334,6 @@ try { } ```` -#### [ForbidThrowAnonymousExceptions](http://sevntu-checkstyle.github.io/sevntu.checkstyle/apidocs/com/github/sevntu/checkstyle/checks/coding/ForbidThrowAnonymousExceptionsCheck.html) - -TODO: remove - [IllegalThrows](#illegalthrows) performs a similar check. - #### [ForbidWildcardAsReturnType](http://sevntu-checkstyle.github.io/sevntu.checkstyle/apidocs/com/github/sevntu/checkstyle/checks/design/ForbidWildcardAsReturnTypeCheck.html) Prevents declaring a method from returning a wildcard type as its return value. @@ -2829,6 +2825,10 @@ Generic rule; doesn't embody a 'quality' check. Generic rule; doesn't embody a 'quality' check. +#### [ForbidThrowAnonymousExceptions](http://sevntu-checkstyle.github.io/sevntu.checkstyle/apidocs/com/github/sevntu/checkstyle/checks/coding/ForbidThrowAnonymousExceptionsCheck.html) + +[IllegalThrows](#illegalthrows) performs a similar check. + #### [HideUtilityClassConstructor](http://sevntu-checkstyle.github.io/sevntu.checkstyle/apidocs/com/github/sevntu/checkstyle/checks/design/HideUtilityClassConstructorCheck.html) See [HideUtilityClassConstructor](#hideutilityclassconstructor). diff --git a/src/main/resources/net/kemitix/checkstyle.xml b/src/main/resources/net/kemitix/checkstyle.xml index 6a77cab..90975e8 100644 --- a/src/main/resources/net/kemitix/checkstyle.xml +++ b/src/main/resources/net/kemitix/checkstyle.xml @@ -225,7 +225,6 @@ -