From d921526577596882f7ff21e2e1141368c23ebed0 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Fri, 22 Apr 2011 05:43:51 +0200 Subject: simple cleanup/warnings --- .../classes/javax/media/nativewindow/NativeWindowFactory.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/nativewindow') 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; -- cgit v1.2.3