diff options
author | Sagar <sagar.shah@evivehealth.com> | 2017-03-04 20:30:12 +0530 |
---|---|---|
committer | rnveach <rveach02@gmail.com> | 2017-03-06 20:49:30 -0500 |
commit | 8e649173a8248470975b370800b516e2c0de4d35 (patch) | |
tree | fd2442d0f88b400a2a84ec1318c43d87d112f8a1 /src | |
parent | e70836bb3dec30734f5fd51b63d4dc6cbe24679d (diff) | |
download | checkstyle-8e649173a8248470975b370800b516e2c0de4d35.tar.gz |
Issue #3906: update documentation for usage of period property at SummaryJavadoc
Diffstat (limited to 'src')
-rw-r--r-- | src/xdocs/config_javadoc.xml | 25 |
1 files changed, 21 insertions, 4 deletions
diff --git a/src/xdocs/config_javadoc.xml b/src/xdocs/config_javadoc.xml index 3ffc670a4..26d536b40 100644 --- a/src/xdocs/config_javadoc.xml +++ b/src/xdocs/config_javadoc.xml @@ -1628,12 +1628,29 @@ public boolean isSomething() </p> <source> <module name="SummaryJavadocCheck"> - <property name="period" value="STRING_LITERAL"/> + <property name="period" value="。"/> </module> </source> - </subsection> - - <subsection name="Example of Usage"> + <p> + Example of period property. + </p> + + <source><![CDATA[ +public class TestClass { + /** + * This is invalid java doc. + */ + void invalidJavaDocMethod() { + } + /** + * This is valid java doc。 + */ + void validJavaDocMethod() { + } +} + ]]></source> + </subsection> + <subsection name="Example of Usage"> <ul> <li> <a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources+filename%3Agoogle_checks.xml+repo%3Acheckstyle%2Fcheckstyle+SummaryJavadoc"> |