2020-06-30 12:47:33 +02:00
|
|
|
include::../description.adoc[]
|
|
|
|
|
|
|
|
include::../noncompliant.adoc[]
|
|
|
|
|
|
|
|
include::../compliant.adoc[]
|
|
|
|
|
|
|
|
== Exceptions
|
|
|
|
|
2020-12-23 14:59:06 +01:00
|
|
|
Assignments in ``while`` statement conditions, and assignments enclosed in relational expressions are ignored.
|
2020-06-30 14:49:38 +02:00
|
|
|
|
2020-06-30 12:47:33 +02:00
|
|
|
----
|
|
|
|
BufferedReader br = new BufferedReader(/* ... */);
|
|
|
|
String line;
|
|
|
|
while ((line = br.readLine()) != null) {...}
|
|
|
|
----
|
|
|
|
|
|
|
|
Chained assignments, including compound assignments, are ignored.
|
2020-06-30 14:49:38 +02:00
|
|
|
|
2020-06-30 12:47:33 +02:00
|
|
|
----
|
|
|
|
int i = j = 0;
|
|
|
|
int k = (j += 1);
|
|
|
|
result = (bresult = new byte[len]);
|
|
|
|
----
|
|
|
|
|
|
|
|
include::../see.adoc[]
|