Merge pull request #9737 from saschaszott/patch-43

fix invalid usage of == operator
This commit is contained in:
Tim Donohue
2024-08-02 09:49:22 -05:00
committed by GitHub

View File

@@ -1799,7 +1799,7 @@ prevent the generation of resource policy entry values with null dspace_object a
//Retrieve the applicable relationship
Relationship rs = relationshipService.find(context,
((RelationshipMetadataValue) rr).getRelationshipId());
if (rs.getLeftItem() == dso) {
if (rs.getLeftItem().equals(dso)) {
rs.setLeftPlace(place);
} else {
rs.setRightPlace(place);