[DS-707] Mailicious code vulnerabilities

git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5630 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
Graham Triggs
2010-10-25 11:41:25 +00:00
parent a730720857
commit da1f84750e
28 changed files with 61 additions and 53 deletions

View File

@@ -423,7 +423,7 @@ public final class CheckerCommand
*/
public Date getProcessStartDate()
{
return processStartDate == null ? null : (Date)processStartDate.clone();
return processStartDate == null ? null : new Date(processStartDate.getTime());
}
/**
@@ -434,7 +434,7 @@ public final class CheckerCommand
*/
public void setProcessStartDate(Date startDate)
{
processStartDate = startDate == null ? null : (Date)startDate.clone();
processStartDate = startDate == null ? null : new Date(startDate.getTime());
}
/**