This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/main by this push:
     new 4c15119fd3 Remove deprecated code
4c15119fd3 is described below

commit 4c15119fd30a34df8fcf0d13138d9e372743c50c
Author: Mark Thomas <[email protected]>
AuthorDate: Mon Sep 22 19:33:33 2025 +0100

    Remove deprecated code
---
 java/org/apache/coyote/Request.java | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/java/org/apache/coyote/Request.java 
b/java/org/apache/coyote/Request.java
index c2d47d4fdc..854030e775 100644
--- a/java/org/apache/coyote/Request.java
+++ b/java/org/apache/coyote/Request.java
@@ -700,18 +700,6 @@ public final class Request {
         return startTimeNanos;
     }
 
-    /**
-     * Set the start time using the value provided by {@code 
System.nanoTime()}.
-     *
-     * @param startTimeNanos The value returned from {@code System.nanoTime()} 
at the point the requests started.
-     *
-     * @deprecated Unused. Will be removed in Tomcat 12 onwards. Use {@link 
#markStartTime()}.
-     */
-    @Deprecated
-    public void setStartTimeNanos(long startTimeNanos) {
-        this.startTimeNanos = startTimeNanos;
-    }
-
     public void markStartTime() {
         startTimeNanos = System.nanoTime();
     }


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to