[DS-707] Security fixes

git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5625 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
Graham Triggs
2010-10-24 23:21:21 +00:00
parent 7f5088d4df
commit e5cc6f3adc
18 changed files with 91 additions and 98 deletions

View File

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