aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/com/jogamp/common/util/cache/TempFileCache.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/com/jogamp/common/util/cache/TempFileCache.java')
-rw-r--r--src/java/com/jogamp/common/util/cache/TempFileCache.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/java/com/jogamp/common/util/cache/TempFileCache.java b/src/java/com/jogamp/common/util/cache/TempFileCache.java
index 5898d50..cc7014a 100644
--- a/src/java/com/jogamp/common/util/cache/TempFileCache.java
+++ b/src/java/com/jogamp/common/util/cache/TempFileCache.java
@@ -237,6 +237,7 @@ public class TempFileCache {
// We do this so that the locks never get garbage-collected.
Runtime.getRuntime().addShutdownHook(new Thread() {
/* @Override */
+ @Override
public void run() {
// NOTE: we don't really expect that this code will ever
// be called. If it does, we will close the output
@@ -263,6 +264,7 @@ public class TempFileCache {
// Start a new Reaper thread to do stuff...
Thread reaperThread = new Thread() {
/* @Override */
+ @Override
public void run() {
deleteOldTempDirs();
}
@@ -286,6 +288,7 @@ public class TempFileCache {
final String ourLockFile = tmpRootPropValue + ".lck";
FilenameFilter lckFilter = new FilenameFilter() {
/* @Override */
+ @Override
public boolean accept(File dir, String name) {
return name.endsWith(".lck") && !name.equals(ourLockFile);
}