This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch 9.0.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
commit 9ea50c596144c7c5aff51ea47f4cbd4777b1395e Author: Chenjp <ch...@msn.com> AuthorDate: Thu Sep 12 09:03:53 2024 +0800 Update FastHttpDateFormat.java remove unused comment --- java/org/apache/tomcat/util/http/FastHttpDateFormat.java | 1 - 1 file changed, 1 deletion(-) diff --git a/java/org/apache/tomcat/util/http/FastHttpDateFormat.java b/java/org/apache/tomcat/util/http/FastHttpDateFormat.java index 1b83d6e4e7..df965a8e82 100644 --- a/java/org/apache/tomcat/util/http/FastHttpDateFormat.java +++ b/java/org/apache/tomcat/util/http/FastHttpDateFormat.java @@ -106,7 +106,6 @@ public final class FastHttpDateFormat { long now = System.currentTimeMillis(); // Ignore millisecond part. now -= now % 1000L; - // Handle case where time moves backwards (e.g. system time corrected) if (now != currentDateGenerated) { currentDate = FORMAT_RFC5322.format(new Date(now)); currentDateGenerated = now; --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org