coverity#1326924 NS: Suspicious use of non-short-circuit boolean operator
Change-Id: I2450cdd6e74e1ebab13c61f3a88668df412f6a61
This commit is contained in:
@@ -166,7 +166,9 @@ public class _XChartDataArray extends MultiMethodTest {
|
||||
if (bResult) {
|
||||
for (int i = 0; i < dscs.length; i++) {
|
||||
log.println("Col " + i + ": got " + dscs[i] + " expected: " + colDscs[i]);
|
||||
bResult &= dscs[i].equals(colDscs[i]);
|
||||
if (!dscs[i].equals(colDscs[i])) {
|
||||
bResult = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user