Apply @NotNull to start and end date
It was not applied to end date. Besides it must be applied to IntraDayDate properties instead of Date properties because the Date properties are generated from the IntraDayDate properties. FEA: ItEr64OTS03PlanificacionHaciaAtras
This commit is contained in:
parent
d0364042f2
commit
64b09ffbdd
1 changed files with 2 additions and 1 deletions
|
|
@ -232,12 +232,12 @@ public abstract class TaskElement extends BaseEntity {
|
|||
return Collections.unmodifiableSet(dependenciesWithThisDestination);
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public Date getStartDate() {
|
||||
return startDate != null ? startDate.getDate().toDateTimeAtStartOfDay()
|
||||
.toDate() : null;
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public IntraDayDate getIntraDayStartDate() {
|
||||
return startDate;
|
||||
}
|
||||
|
|
@ -304,6 +304,7 @@ public abstract class TaskElement extends BaseEntity {
|
|||
+ "Please detect the caller and fix it";
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public IntraDayDate getIntraDayEndDate() {
|
||||
return endDate;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue