From 2323ca6bc367f6c8125eb994d02e7988cc4d276c Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 21 Aug 2012 09:07:44 +0200 Subject: [PATCH] Java cleanup - remove unnecessary null checks Change-Id: I72a847b1180e9aeb8dec18bcaedee7286eee7754 --- jurt/com/sun/star/lib/uno/environments/remote/Job.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 281c4df3d908..e95f5f42fd2b 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)) {