mirror of
https://github.com/usatiuk/dhfs.git
synced 2025-10-29 04:57:48 +01:00
set saved refs to empty collection after deleting
All checks were successful
Server / build (push) Successful in 13m48s
All checks were successful
Server / build (push) Successful in 13m48s
that's actually what we want
This commit is contained in:
@@ -239,7 +239,7 @@ public class JObject<T extends JObjectData> implements Serializable, Comparable<
|
||||
if (!isDeleted())
|
||||
throw new IllegalStateException("Expected to be deleted when discarding data");
|
||||
_dataPart.set(null);
|
||||
_metaPart.setSavedRefs(null);
|
||||
_metaPart.setSavedRefs(Collections.emptySet());
|
||||
}
|
||||
|
||||
static public void rwLockAll(List<JObject<?>> objects) {
|
||||
|
||||
Reference in New Issue
Block a user