Skip to content

Commit 60ac7ed

Browse files
SONARJAVA-5377 S125 Add tests with Markdown comments (#5150)
1 parent 0290815 commit 60ac7ed

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

java-checks-test-sources/default/src/main/java/checks/CommentedCode.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,14 @@ public int getField() {
153153
return field;
154154
}
155155

156+
/// No detection of commented-out code in Markdown documentation for method
157+
/// for (Visitor visitor : visitors) {
158+
/// continue;
159+
/// }
160+
public int getFieldMarkdown() {
161+
return field;
162+
}
163+
156164
/*
157165
* FIXME: the following method calls {@link CommentedCode#method(String)}
158166
*/

0 commit comments

Comments
 (0)