mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
RM-2526 Fix copy/paste error.
This commit is contained in:
@@ -1181,7 +1181,7 @@ public class DispositionServiceImpl extends ServiceBaseImpl
|
|||||||
// Treat null dates as being the latest possible date.
|
// Treat null dates as being the latest possible date.
|
||||||
Date maxDate = new Date(Long.MAX_VALUE);
|
Date maxDate = new Date(Long.MAX_VALUE);
|
||||||
Date recordDate = (recordNextDispositionActionDate != null ? recordNextDispositionActionDate : maxDate);
|
Date recordDate = (recordNextDispositionActionDate != null ? recordNextDispositionActionDate : maxDate);
|
||||||
Date calculatedDate = (nextDispositionActionDate != null ? recordNextDispositionActionDate : maxDate);
|
Date calculatedDate = (nextDispositionActionDate != null ? nextDispositionActionDate : maxDate);
|
||||||
|
|
||||||
// We only need to update the date if the current one is too early.
|
// We only need to update the date if the current one is too early.
|
||||||
if (recordDate.before(calculatedDate))
|
if (recordDate.before(calculatedDate))
|
||||||
|
Reference in New Issue
Block a user