summaryrefslogtreecommitdiffstats
path: root/src/nativewindow
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2014-07-08 22:05:56 +0200
committerSven Gothel <[email protected]>2014-07-08 22:05:56 +0200
commitbe2b608e22d9a2a3a80eb547bee6180c2ca22678 (patch)
tree8c0b0f3b444680c8864d29aa9f3469cf6d557f96 /src/nativewindow
parentf37592d54f3633c0f195a10770020cbb5a732809 (diff)
Findbugs: Add comments that FB warnings are of no concern ..
Diffstat (limited to 'src/nativewindow')
-rw-r--r--src/nativewindow/classes/javax/media/nativewindow/NativeWindowFactory.java4
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 b2889fdcf..58542f07d 100644
--- a/src/nativewindow/classes/javax/media/nativewindow/NativeWindowFactory.java
+++ b/src/nativewindow/classes/javax/media/nativewindow/NativeWindowFactory.java
@@ -476,7 +476,7 @@ public abstract class NativeWindowFactory {
*/
public static ToolkitLock getDefaultToolkitLock(final String type) {
if( requiresToolkitLock ) {
- if( TYPE_AWT == type && isAWTAvailable() ) {
+ if( TYPE_AWT == type && isAWTAvailable() ) { // uses .intern()!
return getAWTToolkitLock();
}
return ResourceToolkitLock.create();
@@ -494,7 +494,7 @@ public abstract class NativeWindowFactory {
*/
public static ToolkitLock getDefaultToolkitLock(final String type, final long deviceHandle) {
if( requiresToolkitLock ) {
- if( TYPE_AWT == type && isAWTAvailable() ) {
+ if( TYPE_AWT == type && isAWTAvailable() ) { // uses .intern()!
return getAWTToolkitLock();
}
return ResourceToolkitLock.create();