Java cleanup - remove unnecessary null checks

Change-Id: I72a847b1180e9aeb8dec18bcaedee7286eee7754
This commit is contained in:
Noel Grandin 2012-08-21 09:07:44 +02:00 committed by Stephan Bergmann
parent e19f1afb2c
commit 2323ca6bc3

View File

@ -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))
{