summaryrefslogtreecommitdiffstats
path: root/src/java/com/jogamp/common/util/locks
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-02-26 20:14:40 +0100
committerSven Gothel <[email protected]>2011-02-26 20:14:40 +0100
commit7b9c3dd1d42b8e8bd1caea8e2caf8f3e15e3ff8f (patch)
treeaab62e917f535713846bcba3b86a7ad6a8f9f6eb /src/java/com/jogamp/common/util/locks
parent47e9c21909034ef2d68937ec970a1c8c3b380ada (diff)
RecursiveLock: static field -> final; NativeLibrary: cleanup
Diffstat (limited to 'src/java/com/jogamp/common/util/locks')
-rw-r--r--src/java/com/jogamp/common/util/locks/RecursiveLock.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/com/jogamp/common/util/locks/RecursiveLock.java b/src/java/com/jogamp/common/util/locks/RecursiveLock.java
index 4f8415e..2ff0d9b 100644
--- a/src/java/com/jogamp/common/util/locks/RecursiveLock.java
+++ b/src/java/com/jogamp/common/util/locks/RecursiveLock.java
@@ -50,7 +50,7 @@ public class RecursiveLock implements LockExt {
// flag signaling unlock has woken up a waiting thread
boolean signaled = false;
}
- private SyncData sdata = new SyncData(); // synchronized (flow/mem) mutable access
+ private final SyncData sdata = new SyncData(); // synchronized (flow/mem) mutable access
private static final boolean TRACE_LOCK = Debug.isPropertyDefined("jogamp.debug.Lock.TraceLock", true, AccessController.getContext());