mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-15 14:03:17 +00:00
Replace duplicated literals with manifest constants.
This commit is contained in:
@@ -594,7 +594,7 @@ public class ItemServiceImpl extends DSpaceObjectServiceImpl<Item> implements It
|
||||
public void removeDSpaceLicense(Context context, Item item) throws SQLException, AuthorizeException, IOException {
|
||||
// get all bundles with name "LICENSE" (these are the DSpace license
|
||||
// bundles)
|
||||
List<Bundle> bunds = getBundles(item, "LICENSE");
|
||||
List<Bundle> bunds = getBundles(item, Constants.LICENSE_BUNDLE_NAME);
|
||||
|
||||
for (Bundle bund : bunds) {
|
||||
// FIXME: probably serious troubles with Authorizations
|
||||
|
Reference in New Issue
Block a user