Description
RequestResponseFilter.doFilterWrite contains the following code, which creates a Date object that is never used.
// Schedule a task to be executed on timeout.
// Find the timeout date avoiding overflow.
Date timeoutDate = new Date(System.currentTimeMillis());
if (Long.MAX_VALUE - request.getTimeoutMillis() < timeoutDate
.getTime())
else
{ timeoutDate.setTime(timeoutDate.getTime() + request.getTimeoutMillis()); }
Thanks! That code block has been removed.