[DS-401] Backed out as it raised more questions than it answered.

git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5822 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
Robin Taylor
2010-11-10 20:00:42 +00:00
parent 05a85b7b0e
commit 8f3419b09a
6 changed files with 18 additions and 81 deletions

View File

@@ -203,18 +203,7 @@ public class InstallItem
if (currentDateIssued.length == 0)
{
DCDate issued = null;
try
{
issued = new DCDate(now.getYear(),now.getMonth(),now.getDay(),-1,-1,-1);
}
catch (DCDateIllegalArgumentException e)
{
// The parameters should never be invalid since they are generated from the current date,
// but we still have to deal with the exception anyway.
throw new RuntimeException(e);
}
DCDate issued = new DCDate(now.getYear(),now.getMonth(),now.getDay(),-1,-1,-1);
item.addDC("date", "issued", null, issued.toString());
}