Java: Rename getTrueExpr/getFalseExpr on ConditionalExpr to getThen/getElse.

This commit is contained in:
Anders Schack-Mulligen
2026-02-04 13:38:11 +01:00
parent 5e6e64b2b7
commit 36fa0a22f9
11 changed files with 49 additions and 41 deletions

View File

@@ -11,7 +11,7 @@ import java
from ConditionalExpr e
where
e.getTrueExpr().getType() != e.getFalseExpr().getType() and
not e.getTrueExpr().getType() instanceof NullType and
not e.getFalseExpr().getType() instanceof NullType
e.getThen().getType() != e.getElse().getType() and
not e.getThen().getType() instanceof NullType and
not e.getElse().getType() instanceof NullType
select e