aboutsummaryrefslogtreecommitdiffstats
path: root/src/nativewindow/classes/jogamp
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2014-07-08 21:09:30 +0200
committerSven Gothel <[email protected]>2014-07-08 21:09:30 +0200
commita41db57df54863566b0e286cd100bbbc5518eb7f (patch)
treefb82077e79f54ba2fcf4c77b42458572fd9995eb /src/nativewindow/classes/jogamp
parentb740161d456c059d1b51029c603ce144eb2b2d44 (diff)
Findbugs: Use <NumberType>.valueOf(..) instead of 'new <NumberType>(..)'
Diffstat (limited to 'src/nativewindow/classes/jogamp')
-rw-r--r--src/nativewindow/classes/jogamp/nativewindow/jawt/windows/Win32SunJDKReflection.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nativewindow/classes/jogamp/nativewindow/jawt/windows/Win32SunJDKReflection.java b/src/nativewindow/classes/jogamp/nativewindow/jawt/windows/Win32SunJDKReflection.java
index ce39db79c..5d191f7e5 100644
--- a/src/nativewindow/classes/jogamp/nativewindow/jawt/windows/Win32SunJDKReflection.java
+++ b/src/nativewindow/classes/jogamp/nativewindow/jawt/windows/Win32SunJDKReflection.java
@@ -89,7 +89,7 @@ public class Win32SunJDKReflection {
}
try {
- return (GraphicsConfiguration) win32GraphicsConfigGetConfigMethod.invoke(null, new Object[] { device, new Integer(pfdID) });
+ return (GraphicsConfiguration) win32GraphicsConfigGetConfigMethod.invoke(null, new Object[] { device, Integer.valueOf(pfdID) });
} catch (final Exception e) {
return null;
}