mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-18 23:43:06 +00:00
[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:
@@ -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());
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user