diff options
author | Sven Gothel <[email protected]> | 2013-02-14 01:48:54 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2013-02-14 01:48:54 +0100 |
commit | 1604f2341e496b380fbb3cf8d1e0134d947d8536 (patch) | |
tree | 68c63167e5a35e69ffc5afd7d0bc9a09a8c2137d /src/java/com/jogamp/common/util/RunnableTask.java | |
parent | b387d012103a02eb7d5eb919306583295ef09a38 (diff) |
Fix FunctionTask's run()/eval(..) return value assignment: Ensure it's done before syncObject.notifyAll() ; Make methods final
Fixes commit b387d012103a02eb7d5eb919306583295ef09a38.
Diffstat (limited to 'src/java/com/jogamp/common/util/RunnableTask.java')
-rw-r--r-- | src/java/com/jogamp/common/util/RunnableTask.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/java/com/jogamp/common/util/RunnableTask.java b/src/java/com/jogamp/common/util/RunnableTask.java index 6a4ccb3..5d9441a 100644 --- a/src/java/com/jogamp/common/util/RunnableTask.java +++ b/src/java/com/jogamp/common/util/RunnableTask.java @@ -78,12 +78,12 @@ public class RunnableTask extends TaskBase { } /** Return the user action */ - public Runnable getRunnable() { + public final Runnable getRunnable() { return runnable; } @Override - public void run() { + public final void run() { tStarted = System.currentTimeMillis(); if(null == syncObject) { try { |