aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSagar <sagar.shah@evivehealth.com>2017-03-04 20:30:12 +0530
committerrnveach <rveach02@gmail.com>2017-03-06 20:49:30 -0500
commit8e649173a8248470975b370800b516e2c0de4d35 (patch)
treefd2442d0f88b400a2a84ec1318c43d87d112f8a1 /src
parente70836bb3dec30734f5fd51b63d4dc6cbe24679d (diff)
downloadcheckstyle-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.xml25
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>
&lt;module name=&quot;SummaryJavadocCheck&quot;&gt;
- &lt;property name=&quot;period&quot; value=&quot;STRING_LITERAL&quot;/&gt;
+ &lt;property name=&quot;period&quot; value="。"/&gt;
&lt;/module&gt;
</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">