Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 064c9a6

Browse files
committed
update {cs/java}/todo-comment to match javascript
1 parent 678e433 commit 064c9a6

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

csharp/ql/src/Bad Practices/Comments/TodoComments.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ import csharp
1414

1515
from CommentLine c
1616
where c.getText().regexpMatch("(?s).*FIXME.*|.*TODO.*|.*(?<!=)\\s*XXX.*")
17-
select c, "TODO comment."
17+
select c, "TODO comments should be addressed."

java/ql/src/Violations of Best Practice/Comments/TodoComments.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ from JavadocText c
1717
where
1818
c.getText().matches("%TODO%") or
1919
c.getText().matches("%FIXME%")
20-
select c, "TODO/FIXME comment."
20+
select c, "TODO comments should be addressed."

0 commit comments

Comments
 (0)