servletResponse.addHeader(CACHE_CONTROL, "must-revalidate");
servletResponse.addHeader(CACHE_CONTROL, "max-age=0");
return;
}
final EntityTag etag;
<BUG>final Date date;

final Date roundedDate = new Date();
if (resource instanceof FedoraBinary) {</BUG>
etag = new EntityTag(resource.getDescription().getEtagValue());

servletResponse.addHeader(CACHE_CONTROL, "must-revalidate");
servletResponse.addHeader(CACHE_CONTROL, "max-age=0");
return;
}
final EntityTag etag;
final Instant date;
Instant roundedDate = Instant.now();
if (resource instanceof FedoraBinary) {
etag = new EntityTag(resource.getDescription().getEtagValue());
