tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yaakov Chaikin <yaakov.chai...@gmail.com>
Subject Why "/ 1000 * 1000
Date Thu, 15 Sep 2005 03:37:53 GMT
Hi,

While reading the Tomcat's source code, I noticed the following line
in the service method of the HttpServlet class:
if (ifModifiedSince < (lastModified / 1000 * 1000))

What's the point of "/ 1000 * 1000"? To drop off some precision?

Thanks,
Yaakov.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message