ForbidThrowAnonymouseExceptions: remove redundant check
This commit is contained in:
parent
4800ef85d0
commit
e5473df9d1
2 changed files with 5 additions and 6 deletions
10
README.md
10
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).
|
||||
|
|
|
@ -225,7 +225,6 @@
|
|||
</module>
|
||||
<module name="ForbidCCommentsInMethodsCheck"/> <!-- prevent /* C-style */ comments inside methods -->
|
||||
<module name="ForbidReturnInFinallyBlockCheck"/> <!-- returns in finally override returns elsewhere in method -->
|
||||
<module name="ForbidThrowAnonymousExceptionsCheck"/> <!-- only throw concrete exceptions -->
|
||||
<module name="LogicConditionNeedOptimizationCheck"/> <!-- prevent placement of local variables and fields after call to method in logical conditionals -->
|
||||
<module name="MapIterationInForEachLoopCheck"/> <!-- warns of unoptimised map iteration -->
|
||||
<module name="NameConventionForJunit4TestClassesCheck"/> <!-- checks names of test classes -->
|
||||
|
|
Loading…
Reference in a new issue