set saved refs to empty collection after deleting
All checks were successful
Server / build (push) Successful in 13m48s

that's actually what we want
This commit is contained in:
2024-07-02 08:22:45 +02:00
parent 5e2afcc0a3
commit 621c79d044

View File

@@ -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) {