forked from checkstyle/checkstyle
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue checkstyle#16005: html-element to be ended with dot in javadoc's …
- Loading branch information
Showing
3 changed files
with
57 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
46 changes: 46 additions & 0 deletions
46
...yle/checks/javadoc/nonemptyatclausedescription/InputNonEmptyAtclauseDescriptionThree.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
/*xml | ||
<module name="Checker"> | ||
<module name="TreeWalker"> | ||
<module name="NonEmptyAtclauseDescription"> | ||
<property name="javadocTokens" value="PARAM_LITERAL,THROWS_LITERAL"/> | ||
</module> | ||
</module> | ||
</module> | ||
*/ | ||
package com.puppycrawl.tools.checkstyle.checks.javadoc.nonemptyatclausedescription; | ||
|
||
// xdoc section -- start | ||
class InputNonEmptyAtclauseDescriptionThree { | ||
|
||
/** | ||
* Some summary. | ||
* | ||
* @param j some param | ||
* @see <a href="www.checkstyle.org/">website</a>some description | ||
*/ | ||
public int endwithDot(int j){ | ||
return j+1; | ||
} | ||
|
||
/** | ||
* Some summary. | ||
* | ||
* @param j some param | ||
* @see <a href="https://docs.oracle.com/"> | ||
* keyPairGenerator Algorithms</a>there is some description. | ||
*/ | ||
public int testMethod(int j){ | ||
return j-1; | ||
} | ||
|
||
/** | ||
* Some summary. | ||
* | ||
* @param j some param | ||
* @see description | ||
*/ | ||
public int testMethod2(int j){ | ||
return j-1; | ||
} | ||
} | ||
// xdoc section -- end |