diff --git a/README.md b/README.md index 63b4aeb..3a9db02 100644 --- a/README.md +++ b/README.md @@ -1229,13 +1229,7 @@ interface Foo { #### [JavadocMethod](http://checkstyle.sourceforge.net/config_javadoc.html#JavadocMethod) -Checks that all public methods have a Javadoc block. - -> TODO: scope = private (reset to default) - will require lots of new javadoc blocks - -> TODO: validateThrows = true - -> TODO: allowMissingPropertyJavadoc = true +Checks that all public, protected and package methods have a Javadoc block, that all `@throws` tags are used. Basic setters and getters do not require javadoc. #### [JavadocPackage](http://checkstyle.sourceforge.net/config_javadoc.html#JavadocPackage) diff --git a/src/main/resources/net/kemitix/checkstyle.xml b/src/main/resources/net/kemitix/checkstyle.xml index 7732808..33329a8 100644 --- a/src/main/resources/net/kemitix/checkstyle.xml +++ b/src/main/resources/net/kemitix/checkstyle.xml @@ -98,7 +98,9 @@ - + + +