summaryrefslogtreecommitdiffstats
path: root/src/newt/classes
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2014-07-08 21:13:15 +0200
committerSven Gothel <[email protected]>2014-07-08 21:13:15 +0200
commit815776c5760e42c8b3c858a9bab982b203c59c24 (patch)
tree3f8ecd7e905b0f431f5472565fce837b24f922ab /src/newt/classes
parenta41db57df54863566b0e286cd100bbbc5518eb7f (diff)
Findbugs: Remove branches where reference cannot be null
Diffstat (limited to 'src/newt/classes')
-rw-r--r--src/newt/classes/jogamp/newt/driver/x11/WindowDriver.java2
1 files changed, 1 insertions, 1 deletions
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);