diff options
Diffstat (limited to 'src/newt/classes/jogamp')
-rw-r--r-- | src/newt/classes/jogamp/newt/driver/x11/ScreenDriver.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/newt/classes/jogamp/newt/driver/x11/ScreenDriver.java b/src/newt/classes/jogamp/newt/driver/x11/ScreenDriver.java index 7ae68e510..1d779741a 100644 --- a/src/newt/classes/jogamp/newt/driver/x11/ScreenDriver.java +++ b/src/newt/classes/jogamp/newt/driver/x11/ScreenDriver.java @@ -77,7 +77,7 @@ public class ScreenDriver extends ScreenImpl { final Long handle = runWithLockedDisplayDevice( new DisplayImpl.DisplayRunnable<Long>() { @Override public Long run(final long dpy) { - return new Long(GetScreen0(dpy, screen_idx)); + return Long.valueOf(GetScreen0(dpy, screen_idx)); } } ); if (handle.longValue() == 0) { throw new RuntimeException("Error creating screen: " + screen_idx); @@ -213,7 +213,7 @@ public class ScreenDriver extends ScreenImpl { private final DisplayImpl.DisplayRunnable<Boolean> xineramaEnabledQueryWithTemp = new DisplayImpl.DisplayRunnable<Boolean>() { @Override public Boolean run(final long dpy) { - return new Boolean(X11Util.XineramaIsEnabled(dpy)); + return Boolean.valueOf(X11Util.XineramaIsEnabled(dpy)); } }; @Override |