[Libreoffice-commits] core.git: qadevOOo/tests

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Thu Feb 6 13:48:19 UTC 2020


 qadevOOo/tests/java/ifc/bridge/_XBridgeFactory.java |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 3d22c0601455a78a5fdea6cf70b52156689bda4a
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Thu Feb 6 09:48:10 2020 +0000
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Thu Feb 6 14:47:43 2020 +0100

    cid#1458158 Dereference before null check
    
    Change-Id: I6fbcbce28cbd472a48556ba107e604a09c8cbe30
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88081
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/qadevOOo/tests/java/ifc/bridge/_XBridgeFactory.java b/qadevOOo/tests/java/ifc/bridge/_XBridgeFactory.java
index 9272f9660437..fe0f28d695b6 100644
--- a/qadevOOo/tests/java/ifc/bridge/_XBridgeFactory.java
+++ b/qadevOOo/tests/java/ifc/bridge/_XBridgeFactory.java
@@ -128,7 +128,7 @@ public class _XBridgeFactory extends MultiMethodTest {
 
         if (bridges.length > 0) bridgeName = bridges[0].getName() ;
 
-        tRes.tested("getExistingBridges()", bridges != null) ;
+        tRes.tested("getExistingBridges()", true) ;
     }
 
     /**


More information about the Libreoffice-commits mailing list