From 815776c5760e42c8b3c858a9bab982b203c59c24 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Tue, 8 Jul 2014 21:13:15 +0200 Subject: Findbugs: Remove branches where reference cannot be null --- src/newt/classes/jogamp/newt/driver/x11/WindowDriver.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/newt/classes') diff --git a/src/newt/classes/jogamp/newt/driver/x11/WindowDriver.java b/src/newt/classes/jogamp/newt/driver/x11/WindowDriver.java index 4a3b9442d..afa9786e2 100644 --- a/src/newt/classes/jogamp/newt/driver/x11/WindowDriver.java +++ b/src/newt/classes/jogamp/newt/driver/x11/WindowDriver.java @@ -298,7 +298,7 @@ public class WindowDriver extends WindowImpl { final PointerIconImpl pi = (PointerIconImpl)getPointerIcon(); final boolean res; if( pointerVisible && null != pi ) { - setPointerIcon0(dpy, getWindowHandle(), null != pi ? pi.validatedHandle() : 0); + setPointerIcon0(dpy, getWindowHandle(), pi.validatedHandle()); res = true; } else { res = setPointerVisible0(dpy, getWindowHandle(), pointerVisible); -- cgit v1.2.3