DS-3914: Fix community defiliation

This fixes in issue in the defiliate method of the community filiator. The
child and parent relations should be managed using the provided methods of the
Community.

This changes the visibility of Community.removeSubCommunity() to public, but
Community.removeParentCommunity() was public before already.
This commit is contained in:
Alexander Sulfrian
2018-08-21 18:02:03 +02:00
parent 301f804d44
commit 5ecc473311
2 changed files with 3 additions and 3 deletions

View File

@@ -107,7 +107,7 @@ public class Community extends DSpaceObject implements DSpaceObjectLegacySupport
setModified();
}
void removeSubCommunity(Community subCommunity) {
public void removeSubCommunity(Community subCommunity) {
subCommunities.remove(subCommunity);
setModified();
}