mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-14 13:33:08 +00:00
[DS-707] Style / readability fixes
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5579 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
@@ -194,7 +194,9 @@ public class InstallItem
|
||||
// add date available if not under embargo, otherwise it will
|
||||
// be set when the embargo is lifted.
|
||||
if (embargoLiftDate == null)
|
||||
{
|
||||
item.addDC("date", "available", null, now.toString());
|
||||
}
|
||||
|
||||
// create issue date if not present
|
||||
DCValue[] currentDateIssued = item.getDC("date", "issued", Item.ANY);
|
||||
@@ -249,7 +251,9 @@ public class InstallItem
|
||||
|
||||
// set embargo lift date and take away read access if indicated.
|
||||
if (embargoLiftDate != null)
|
||||
{
|
||||
EmbargoManager.setEmbargo(c, item, embargoLiftDate);
|
||||
}
|
||||
|
||||
return item;
|
||||
}
|
||||
|
Reference in New Issue
Block a user