Full Imports and Code Format Optimization

This commit is contained in:
Kam committed 2025-03-12 20:12:01 -04:00
1 parent 250edf099c
commit 6815f579a7
1192 files changed
+60344 -62167

No files matched your search

@@ -22,9 +22,9 @@ public class CacheHashMap<K, V extends CacheHashMap.CachedObject<?>> extends Has
V object = super.get(key);
object.updateTimeAccessed();
Iterator<Map.Entry<K,V>> iterator = this.entrySet().iterator();
Iterator<Map.Entry<K, V>> iterator = this.entrySet().iterator();
while (iterator.hasNext()) {
Map.Entry<K,V> entry = iterator.next();
Map.Entry<K, V> entry = iterator.next();
long lifeTimeDiff = entry.getValue().timeSinceAccessed();
if (lifeTimeDiff > this.maxCacheTime) {
entry.getValue().save();
@@ -68,7 +68,8 @@ public class CacheHashMap<K, V extends CacheHashMap.CachedObject<?>> extends Has
this.timeSaved = System.currentTimeMillis();
}
public void save(){}
public void save() {
}
public T getObject() {
return this.object;