Java
Nested conditional expression
Warning
Last modified: 03 December 2024Reports nested conditional expressions as they may result in extremely confusing code.
Example:
int y = a == 10 ? b == 20 ? 10 : a : b;
- By ID
Can be used to locate inspection in e.g. Qodana configuration files, where you can quickly enable or disable it, or adjust its settings.
NestedConditionalExpression
Inspection Details | |
---|---|
By default bundled with: | |
Can be installed with plugin: | Java, 243.23126 |
Thanks for your feedback!
Was this page helpful?