<html> | |
<body> | |
Reports the ternary condition operator. Some coding standards prohibit the use of | |
the condition operator, in favor of <b>if-else</b> statements. | |
<!-- tooltip end --> | |
<p> | |
Use the checkbox below to ignore simple assignments and returns and thus allow constructs like this: | |
<pre> | |
String s = (foo == null) ? "" : foo.toString(); | |
</pre> | |
<p> | |
</body> | |
</html> |