This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch 8.5.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
commit bb5db7713d1ce0097b08095d6a9f8fc7b4d30863 Author: Mark Thomas <ma...@apache.org> AuthorDate: Mon Jul 29 21:34:34 2019 +0100 Deprecate FastHttpDateFormat.parseDate(String,DateFormat[]) --- java/org/apache/tomcat/util/http/FastHttpDateFormat.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/java/org/apache/tomcat/util/http/FastHttpDateFormat.java b/java/org/apache/tomcat/util/http/FastHttpDateFormat.java index ee7f780..1fdb9f6 100644 --- a/java/org/apache/tomcat/util/http/FastHttpDateFormat.java +++ b/java/org/apache/tomcat/util/http/FastHttpDateFormat.java @@ -150,7 +150,11 @@ public final class FastHttpDateFormat { * @param threadLocalformats Ignored. The local array of * ConcurrentDateFormat will always be used. * @return the date as a long + * + * @deprecated Unused. This will be removed in Tomcat 10 + * Use {@link #parseDate(String)} */ + @Deprecated public static final long parseDate(String value, DateFormat[] threadLocalformats) { return parseDate(value); } --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org