mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-04-23 08:00:56 -04:00
Small fixes
This commit is contained in:
@@ -440,7 +440,7 @@ public abstract class DataStorage {
|
||||
|
||||
public void deleteStoreEntry(@NonNull DataStoreEntry store) {
|
||||
if (!store.getConfiguration().isDeletable()) {
|
||||
throw new UnsupportedOperationException();
|
||||
// throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
synchronized (this) {
|
||||
|
||||
@@ -49,7 +49,8 @@ public abstract class StorageElement {
|
||||
public abstract void refresh(boolean deep) throws Exception;
|
||||
|
||||
public void updateLastUsed() {
|
||||
lastUsed = Instant.now();
|
||||
this.lastUsed = Instant.now();
|
||||
this.dirty = true;
|
||||
this.listeners.forEach(l -> l.onUpdate());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user