mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-15 05:53:08 +00:00
fix invalid usage of == operator
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user