summaryrefslogtreecommitdiff
path: root/qadevOOo/runner
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-08-05 12:18:20 +0200
committerNoel Grandin <noel@peralex.com>2014-08-08 09:48:19 +0200
commite5bc8b60ecfca09a2014ab7090659f3428c8efa0 (patch)
tree479fea82acab2e4fe48a796706b73b69a0a938e7 /qadevOOo/runner
parentb58c053fed3c7e2e1e6a4195254e639976a3a809 (diff)
java: variable cannot be null
remove null check where null-analyis reveals the variable cannot be null Change-Id: Ied0a24665514bbf68c2ed5f15af9e5c2232a8033
Diffstat (limited to 'qadevOOo/runner')
-rw-r--r--qadevOOo/runner/base/java_fat.java2
-rw-r--r--qadevOOo/runner/stats/SQLExecution.java2
2 files changed, 1 insertions, 3 deletions
diff --git a/qadevOOo/runner/base/java_fat.java b/qadevOOo/runner/base/java_fat.java
index 9e5efaebe494..04f159a4336a 100644
--- a/qadevOOo/runner/base/java_fat.java
+++ b/qadevOOo/runner/base/java_fat.java
@@ -181,7 +181,7 @@ public class java_fat implements TestBase
aSubEntry.UserDefinedParams = m_aParams;
aSubEntry.Logger = ifclog;
- if ((tEnv == null) || tEnv.isDisposed())
+ if (tEnv.isDisposed())
{
closeExistingOffice();
tEnv = getEnv(entry, m_aParams);
diff --git a/qadevOOo/runner/stats/SQLExecution.java b/qadevOOo/runner/stats/SQLExecution.java
index e65ac26d3f12..1401156e6d82 100644
--- a/qadevOOo/runner/stats/SQLExecution.java
+++ b/qadevOOo/runner/stats/SQLExecution.java
@@ -242,8 +242,6 @@ public class SQLExecution {
}
}
}
- if (!update && sqlOutput == null)
- return false;
return true;
}