Skip to content

Commit

Permalink
Remove all matches in the license bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
wwelling committed Jan 26, 2024
1 parent 9faba2c commit 98f639e
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ public static void addProxyLicense(Context context, Item item, MultipartFile fil
for (Bitstream bitstream: licenseBundle.getBitstreams()) {
if (bitstream.getName().startsWith(PROXY_LICENSE_NAME)) {
bundleService.removeBitstream(context, licenseBundle, bitstream);
break;
}
}

Expand Down Expand Up @@ -121,7 +120,6 @@ public static void addLicense(Context context, Item item, String selected, Strin
for (Bitstream bitstream: licenseBundle.getBitstreams()) {
if (Constants.LICENSE_BITSTREAM_NAME.equals(bitstream.getName())) {
bundleService.removeBitstream(context, licenseBundle, bitstream);
break;
}
}

Expand All @@ -130,7 +128,6 @@ public static void addLicense(Context context, Item item, String selected, Strin
for (Bitstream bitstream: licenseBundle.getBitstreams()) {
if (bitstream.getName().startsWith(PROXY_LICENSE_NAME)) {
bundleService.removeBitstream(context, licenseBundle, bitstream);
break;
}
}
}
Expand Down

0 comments on commit 98f639e

Please sign in to comment.