} else {
etag = new EntityTag(resource.getDescribedResource().getEtagValue());
date = resource.getDescribedResource().getLastModifiedDate();
}
if (date != null) {
<BUG>roundedDate.setTime(date.getTime() - date.getTime() % 1000);
}</BUG>
Response.ResponseBuilder builder = request.evaluatePreconditions(etag);
if ( builder != null ) {
builder = builder.entity("ETag mismatch");

} else {
etag = new EntityTag(resource.getDescribedResource().getEtagValue());
date = resource.getDescribedResource().getLastModifiedDate();
}
if (date != null) {
roundedDate = date.minusMillis(date.toEpochMilli() % 1000);
}
Response.ResponseBuilder builder = request.evaluatePreconditions(etag);
if ( builder != null ) {
builder = builder.entity("ETag mismatch");
