summaryrefslogtreecommitdiff
path: root/qadevOOo
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-10-26 23:30:57 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-10-28 20:45:53 +0000
commitdecdab2c65decdce2270d1029bc9cc626159619c (patch)
tree9b102a50b05fe94b92c7911b8952220e53341103 /qadevOOo
parenta66bd32b78a8e88f24690452a96bf3f248bfa004 (diff)
coverity#1326924 NS: Suspicious use of non-short-circuit boolean operator
Change-Id: I99aba91939af31837923d2e2e3ca4814178449dc
Diffstat (limited to 'qadevOOo')
-rw-r--r--qadevOOo/tests/java/ifc/chart/_XChartDataArray.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/qadevOOo/tests/java/ifc/chart/_XChartDataArray.java b/qadevOOo/tests/java/ifc/chart/_XChartDataArray.java
index 2cfaedb62aaa..4cee4efb3f73 100644
--- a/qadevOOo/tests/java/ifc/chart/_XChartDataArray.java
+++ b/qadevOOo/tests/java/ifc/chart/_XChartDataArray.java
@@ -160,10 +160,9 @@ public class _XChartDataArray extends MultiMethodTest {
*/
public void _getColumnDescriptions() {
requiredMethod("setColumnDescriptions()");
- bResult = true;
String[] dscs = oObj.getColumnDescriptions();
- bResult &= dscs.length == colDscs.length;
+ bResult = dscs.length == colDscs.length;
if (bResult) {
for (int i = 0; i < dscs.length; i++) {
log.println("Col " + i + ": got " + dscs[i] + " expected: " + colDscs[i]);