Author: markt Date: Thu Feb 14 12:08:16 2013 New Revision: 1446137 URL: http://svn.apache.org/r1446137 Log: Follow on to r1446108 Since -1 is used to indicate the start time has not been set, make sure that is what is used for the initial value
Modified: tomcat/trunk/java/org/apache/coyote/Request.java Modified: tomcat/trunk/java/org/apache/coyote/Request.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/Request.java?rev=1446137&r1=1446136&r2=1446137&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/coyote/Request.java (original) +++ tomcat/trunk/java/org/apache/coyote/Request.java Thu Feb 14 12:08:16 2013 @@ -135,7 +135,7 @@ public final class Request { private int bytesRead=0; // Time of the request - useful to avoid repeated calls to System.currentTime - private long startTime = 0L; + private long startTime = -1; private int available = 0; private final RequestInfo reqProcessorMX=new RequestInfo(this); --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org