From af3de7dd59bcebde68f3928868b5dde198978854 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Tue, 2 Nov 2010 23:12:37 +0100 Subject: Minor cleanup: strings, unused vars, .. DEBUG strings w/ thread name nativewindow.TraceLock -> nativewindow.debug.ToolkitLock.TraceLock Sync Xmisc (DummyWindow) with NEWT's creation test scripts: awt and non-awt usage --- .../classes/javax/media/nativewindow/GraphicsConfigurationFactory.java | 2 -- src/nativewindow/classes/javax/media/nativewindow/ToolkitLock.java | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'src/nativewindow/classes/javax') diff --git a/src/nativewindow/classes/javax/media/nativewindow/GraphicsConfigurationFactory.java b/src/nativewindow/classes/javax/media/nativewindow/GraphicsConfigurationFactory.java index 75c8aea22..1d3a7445f 100644 --- a/src/nativewindow/classes/javax/media/nativewindow/GraphicsConfigurationFactory.java +++ b/src/nativewindow/classes/javax/media/nativewindow/GraphicsConfigurationFactory.java @@ -71,8 +71,6 @@ public abstract class GraphicsConfigurationFactory { } private static void initialize() { - String factoryClassName = null; - abstractGraphicsDeviceClass = javax.media.nativewindow.AbstractGraphicsDevice.class; if (NativeWindowFactory.TYPE_X11.equals(NativeWindowFactory.getNativeWindowType(true))) { diff --git a/src/nativewindow/classes/javax/media/nativewindow/ToolkitLock.java b/src/nativewindow/classes/javax/media/nativewindow/ToolkitLock.java index 09c89ebe3..226998860 100644 --- a/src/nativewindow/classes/javax/media/nativewindow/ToolkitLock.java +++ b/src/nativewindow/classes/javax/media/nativewindow/ToolkitLock.java @@ -38,7 +38,7 @@ import java.security.AccessController; * One use case is the AWT locking on X11, see {@link com.jogamp.nativewindow.impl.jawt.JAWTToolkitLock}. */ public interface ToolkitLock { - public static final boolean TRACE_LOCK = Debug.isPropertyDefined("nativewindow.TraceLock", true, AccessController.getContext()); + public static final boolean TRACE_LOCK = Debug.isPropertyDefined("nativewindow.debug.ToolkitLock.TraceLock", true, AccessController.getContext()); public void lock(); public void unlock(); -- cgit v1.2.3