Skip to content

Commit 949de90

Browse files
committed
Java: Add change note.
1 parent 163fb94 commit 949de90

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
category: deprecated
3+
---
4+
* Renamed the following predicates to increase uniformity across languages. The `getBody` predicate already existed on `LoopStmt`, but is now properly inherited.
5+
- `UnaryExpr.getExpr` to `getOperand`.
6+
- `ConditionalExpr.getTrueExpr` to `getThen`.
7+
- `ConditionalExpr.getFalseExpr` to `getElse`.
8+
- `ReturnStmt.getResult` to `getExpr`.
9+
- `WhileStmt.getStmt` to `getBody`.
10+
- `DoStmt.getStmt` to `getBody`.
11+
- `ForStmt.getStmt` to `getBody`.
12+
- `EnhancedForStmt.getStmt` to `getBody`.

0 commit comments

Comments
 (0)