fix style errors

This commit is contained in:
Paulo Graça
2023-10-19 11:42:58 +01:00
parent caba4bbb96
commit 74605f159a
2 changed files with 3 additions and 2 deletions

View File

@@ -278,7 +278,7 @@ public class BitstreamServiceImpl extends DSpaceObjectServiceImpl<Bitstream> imp
for (Bundle bundle : bundles) {
authorizeService.authorizeAction(context, bundle, Constants.REMOVE);
//We also need to remove the bitstream id when it's set as bundle's primary bitstream
if(bitstream.equals(bundle.getPrimaryBitstream())) {
if (bitstream.equals(bundle.getPrimaryBitstream())) {
bundle.unsetPrimaryBitstreamID();
}
bundle.removeBitstream(bitstream);