diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-07-26 09:10:34 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-07-26 21:24:03 +0200 |
commit | 8b533ac06c302c68ccc78552ab3b9ef578c3e8d9 (patch) | |
tree | 8a9fb1360d984fae9ff7875868067cfdb0d6f482 /qadevOOo | |
parent | 51d95cb212cf94097267f84f82901ef757bc148d (diff) |
cid#1448221 RV: Bad use of return value
Change-Id: I3284cf35b28edc1fb08579f707bbf76fcde8b054
Reviewed-on: https://gerrit.libreoffice.org/76362
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'qadevOOo')
-rw-r--r-- | qadevOOo/tests/java/mod/_fwl/FilterFactory.java | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/qadevOOo/tests/java/mod/_fwl/FilterFactory.java b/qadevOOo/tests/java/mod/_fwl/FilterFactory.java index 9d21625f331d..1ed9869b1832 100644 --- a/qadevOOo/tests/java/mod/_fwl/FilterFactory.java +++ b/qadevOOo/tests/java/mod/_fwl/FilterFactory.java @@ -79,11 +79,7 @@ public class FilterFactory extends TestCase { // XNameContainer; XNameReplace String filterName = filterNames[0]; - Object[] instance = null; - new PropertyValue(); - instance = (Object[]) xNA.getByName(filterName); - getPropertyValue - (((PropertyValue[]) instance), "FilterService"); + Object[] instance = (Object[]) xNA.getByName(filterName); log.println("adding INSTANCE 1 as obj relation to environment"); |