[Libreoffice-commits] .: jurt/com

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Aug 29 00:09:02 PDT 2012


 jurt/com/sun/star/lib/uno/environments/remote/Job.java |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 2323ca6bc367f6c8125eb994d02e7988cc4d276c
Author: Noel Grandin <noel at peralex.com>
Date:   Tue Aug 21 09:07:44 2012 +0200

    Java cleanup - remove unnecessary null checks
    
    Change-Id: I72a847b1180e9aeb8dec18bcaedee7286eee7754

diff --git a/jurt/com/sun/star/lib/uno/environments/remote/Job.java b/jurt/com/sun/star/lib/uno/environments/remote/Job.java
index 281c4df..e95f5f4 100644
--- a/jurt/com/sun/star/lib/uno/environments/remote/Job.java
+++ b/jurt/com/sun/star/lib/uno/environments/remote/Job.java
@@ -109,8 +109,7 @@ public class Job {
                     // Here we have to be aware of non-UNO exceptions, because
                     // they may kill a remote side which does not know anything
                     // about their types:
-                    if (exception != null
-                        && !(exception instanceof com.sun.star.uno.Exception)
+                    if (!(exception instanceof com.sun.star.uno.Exception)
                         && !(exception instanceof
                              com.sun.star.uno.RuntimeException))
                     {


More information about the Libreoffice-commits mailing list