| Summary: | CDOCommonUtil.isValidTimeStamp() does not work for UNSPECIFIED_DATE | ||
|---|---|---|---|
| Product: | [Modeling] EMF | Reporter: | Eike Stepper <stepper> |
| Component: | cdo.core | Assignee: | Eike Stepper <stepper> |
| Status: | CLOSED FIXED | QA Contact: | Eike Stepper <stepper> |
| Severity: | critical | ||
| Priority: | P3 | ||
| Version: | 3.0 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Eike Stepper
Better:
public static boolean isValidTimeStamp(long timeStamp, long startTime, long endTime)
{
if (timeStamp == CDOBranchPoint.UNSPECIFIED_DATE)
{
return endTime == CDOBranchPoint.UNSPECIFIED_DATE;
}
return (endTime == CDOBranchPoint.UNSPECIFIED_DATE || endTime >= timeStamp) && timeStamp >= startTime;
}
Committed to R3_0_maintenance Moving all open problem reports to 4.0 Closing. |