Improved: Corrected some line is longer than 150 characters checkstyle issues. Also fixed some extra spaces and naming conventions related checkstyle issues.
(OFBIZ-11921)
This commit is contained in:
@@ -42,7 +42,8 @@ public class Various {
|
||||
GenericValue nextTask = assoc.getRelatedOne("ToWorkEffort", false);
|
||||
Timestamp newStartDate = task.getTimestamp("estimatedCompletionDate"); // start of next task the next day
|
||||
if (nextTask.get("estimatedStartDate") == null || nextTask.getTimestamp("estimatedStartDate").before(newStartDate)) {
|
||||
nextTask.put("estimatedStartDate", UtilDateTime.addDaysToTimestamp(task.getTimestamp("estimatedCompletionDate"), 1)); // start of next task the next day
|
||||
nextTask.put("estimatedStartDate", UtilDateTime.addDaysToTimestamp(task.getTimestamp("estimatedCompletionDate"), 1));
|
||||
// start of next task the next day
|
||||
nextTask.put("estimatedCompletionDate", calculateCompletionDate(nextTask, task.getTimestamp("estimatedCompletionDate")));
|
||||
nextTask.store();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user