From 0cce9a0eb5ab3ca25531c8fb8a9ef8be5c758487 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Mon, 24 Jun 2013 12:00:50 +0200 Subject: Fix commit e46b51f75b550bc0faf70ae18f526d466d8180f3 Funny .. subclasses didn't compile in test compilation locally. --- src/java/com/jogamp/common/util/locks/SingletonInstance.java | 3 +++ 1 file changed, 3 insertions(+) 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; -- cgit v1.2.3