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
|
//Retrieve the applicable relationship
|
||||||
Relationship rs = relationshipService.find(context,
|
Relationship rs = relationshipService.find(context,
|
||||||
((RelationshipMetadataValue) rr).getRelationshipId());
|
((RelationshipMetadataValue) rr).getRelationshipId());
|
||||||
if (rs.getLeftItem() == dso) {
|
if (rs.getLeftItem().equals(dso)) {
|
||||||
rs.setLeftPlace(place);
|
rs.setLeftPlace(place);
|
||||||
} else {
|
} else {
|
||||||
rs.setRightPlace(place);
|
rs.setRightPlace(place);
|
||||||
|
Reference in New Issue
Block a user