mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-10-02 18:17:27 +13:00
Small fixes
This commit is contained in:
parent
a056cf95a2
commit
772faef0fe
2 changed files with 3 additions and 2 deletions
|
@ -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());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue