aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2013-06-24 12:00:50 +0200
committerSven Gothel <[email protected]>2013-06-24 12:00:50 +0200
commit0cce9a0eb5ab3ca25531c8fb8a9ef8be5c758487 (patch)
treef4d7a5767654f71105c7dc7f2dbea192da5afdd9 /src
parente46b51f75b550bc0faf70ae18f526d466d8180f3 (diff)
Fix commit e46b51f75b550bc0faf70ae18f526d466d8180f3
Funny .. subclasses didn't compile in test compilation locally.
Diffstat (limited to 'src')
-rw-r--r--src/java/com/jogamp/common/util/locks/SingletonInstance.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/java/com/jogamp/common/util/locks/SingletonInstance.java b/src/java/com/jogamp/common/util/locks/SingletonInstance.java
index 6b38f05..825098d 100644
--- a/src/java/com/jogamp/common/util/locks/SingletonInstance.java
+++ b/src/java/com/jogamp/common/util/locks/SingletonInstance.java
@@ -142,6 +142,9 @@ public abstract class SingletonInstance implements Lock {
protected String infoPrefix(long currentMillis) {
return "SLOCK [T "+Thread.currentThread().getName()+" @ "+currentMillis+" ms";
}
+ protected String infoPrefix() {
+ return infoPrefix(System.currentTimeMillis());
+ }
private final long poll_ms;
private boolean locked = false;