diff options
author | Noel Grandin <noel@peralex.com> | 2012-08-21 09:07:44 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-08-29 09:08:28 +0200 |
commit | 2323ca6bc367f6c8125eb994d02e7988cc4d276c (patch) | |
tree | 715a90d868a61de474dcc10b89834b6bd11d2815 /jurt/com | |
parent | e19f1afb2c253944968f85b963934a60b87f472a (diff) |
Java cleanup - remove unnecessary null checks
Change-Id: I72a847b1180e9aeb8dec18bcaedee7286eee7754
Diffstat (limited to 'jurt/com')
-rw-r--r-- | jurt/com/sun/star/lib/uno/environments/remote/Job.java | 3 |
1 files changed, 1 insertions, 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)) { |