diff options
author | Sven Gothel <[email protected]> | 2011-04-22 05:43:51 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-04-22 05:43:51 +0200 |
commit | d921526577596882f7ff21e2e1141368c23ebed0 (patch) | |
tree | 3656f240b21634af17aae176a38c46e542ac4c04 /src/nativewindow/classes/javax | |
parent | 4f7d8a59df48d43a5b7da8bcc7dd406357474eb1 (diff) |
simple cleanup/warnings
Diffstat (limited to 'src/nativewindow/classes/javax')
-rw-r--r-- | src/nativewindow/classes/javax/media/nativewindow/NativeWindowFactory.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nativewindow/classes/javax/media/nativewindow/NativeWindowFactory.java b/src/nativewindow/classes/javax/media/nativewindow/NativeWindowFactory.java index b0f5cb3f9..51f4568c8 100644 --- a/src/nativewindow/classes/javax/media/nativewindow/NativeWindowFactory.java +++ b/src/nativewindow/classes/javax/media/nativewindow/NativeWindowFactory.java @@ -200,7 +200,7 @@ public abstract class NativeWindowFactory { } }); if(null != jawtUtilClass && null != jawtUtilGetJAWTToolkitMethod && null != jawtUtilInitMethod) { - ReflectionUtil.callMethod(null, jawtUtilInitMethod, null); + ReflectionUtil.callMethod(null, jawtUtilInitMethod); Object resO = ReflectionUtil.callStaticMethod(JAWTUtilClassName, "isHeadlessMode", null, null, cl ); if(resO instanceof Boolean) { @@ -329,7 +329,7 @@ public abstract class NativeWindowFactory { } protected static ToolkitLock getAWTToolkitLock() { - Object resO = ReflectionUtil.callMethod(null, jawtUtilGetJAWTToolkitMethod, null); + Object resO = ReflectionUtil.callMethod(null, jawtUtilGetJAWTToolkitMethod); if(resO instanceof ToolkitLock) { return (ToolkitLock) resO; |