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

Caolán McNamara caolanm at redhat.com
Wed Jan 20 08:37:15 PST 2016


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

New commits:
commit ca27812e67663574cbc8a56b43e482dfaf3debc0
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed Jan 20 16:36:05 2016 +0000

    logic inverted
    
    thanks to noelg for noticing
    
    Change-Id: I0e8bdb1e10bc8341b4f38d93c08ff77ea9aadf9b

diff --git a/qadevOOo/tests/java/ifc/io/_XOutputStream.java b/qadevOOo/tests/java/ifc/io/_XOutputStream.java
index c183002..9f619f3 100644
--- a/qadevOOo/tests/java/ifc/io/_XOutputStream.java
+++ b/qadevOOo/tests/java/ifc/io/_XOutputStream.java
@@ -85,7 +85,7 @@ public class _XOutputStream extends MultiMethodTest {
 
         byte[][] readData = new byte[1][data.length];
         XInputStream xInStream = checker.getInStream();
-        if (xInStream == null) {
+        if (xInStream != null) {
             try {
                 xInStream.readBytes(readData, data.length);
             } catch(com.sun.star.io.IOException e) {


More information about the Libreoffice-commits mailing list