Skip to content

Commit 11003e6

Browse files
committed
Java: Fix qldoc
1 parent 32fe12a commit 11003e6

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

java/ql/lib/semmle/code/java/Expr.qll

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1040,7 +1040,7 @@ class ReferenceEqualityTest extends EqualityTest {
10401040
/** A common super-class that represents unary operator expressions. */
10411041
class UnaryExpr extends Expr, @unaryexpr {
10421042
/**
1043-
* DEPRECATED: Use getOperand() instead.
1043+
* DEPRECATED: Use `getOperand()` instead.
10441044
*
10451045
* Gets the operand expression.
10461046
*/
@@ -1464,15 +1464,15 @@ class ConditionalExpr extends Expr, @conditionalexpr {
14641464
Expr getCondition() { result.isNthChildOf(this, 0) }
14651465

14661466
/**
1467-
* DEPRECATED: Use getThen() instead.
1467+
* DEPRECATED: Use `getThen()` instead.
14681468
*
14691469
* Gets the expression that is evaluated if the condition of this
14701470
* conditional expression evaluates to `true`.
14711471
*/
14721472
deprecated Expr getTrueExpr() { result.isNthChildOf(this, 1) }
14731473

14741474
/**
1475-
* DEPRECATED: Use getElse() instead.
1475+
* DEPRECATED: Use `getElse()` instead.
14761476
*
14771477
* Gets the expression that is evaluated if the condition of this
14781478
* conditional expression evaluates to `false`.

java/ql/lib/semmle/code/java/Statement.qll

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ class ForStmt extends ConditionalStmt, LoopStmtImpl, @forstmt {
168168
}
169169

170170
/**
171-
* DEPRECATED: Use getBody() instead.
171+
* DEPRECATED: Use `getBody()` instead.
172172
*
173173
* Gets the body of this `for` loop.
174174
*/
@@ -216,7 +216,7 @@ class EnhancedForStmt extends LoopStmtImpl, @enhancedforstmt {
216216
Expr getExpr() { result.isNthChildOf(this, 1) }
217217

218218
/**
219-
* DEPRECATED: Use getBody() instead.
219+
* DEPRECATED: Use `getBody()` instead.
220220
*
221221
* Gets the body of this enhanced `for` loop.
222222
*/
@@ -240,7 +240,7 @@ class WhileStmt extends ConditionalStmt, LoopStmtImpl, @whilestmt {
240240
override Expr getCondition() { result.getParent() = this }
241241

242242
/**
243-
* DEPRECATED: Use getBody() instead.
243+
* DEPRECATED: Use `getBody()` instead.
244244
*
245245
* Gets the body of this `while` loop.
246246
*/
@@ -264,7 +264,7 @@ class DoStmt extends ConditionalStmt, LoopStmtImpl, @dostmt {
264264
override Expr getCondition() { result.getParent() = this }
265265

266266
/**
267-
* DEPRECATED: Use getBody() instead.
267+
* DEPRECATED: Use `getBody()` instead.
268268
*
269269
* Gets the body of this `do` loop.
270270
*/
@@ -642,7 +642,7 @@ class SynchronizedStmt extends Stmt, @synchronizedstmt {
642642
/** A `return` statement. */
643643
class ReturnStmt extends Stmt, @returnstmt {
644644
/**
645-
* DEPRECATED: Use getExpr() instead.
645+
* DEPRECATED: Use `getExpr()` instead.
646646
*
647647
* Gets the expression returned by this `return` statement, if any.
648648
*/

0 commit comments

Comments
 (0)