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

remm pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/9.0.x by this push:
     new 2da61eddfd Deprecate unused methods
2da61eddfd is described below

commit 2da61eddfd8663383198ffcae2f8afa55e380bdb
Author: remm <r...@apache.org>
AuthorDate: Fri May 31 10:45:09 2024 +0200

    Deprecate unused methods
---
 java/org/apache/catalina/authenticator/DigestAuthenticator.java | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/java/org/apache/catalina/authenticator/DigestAuthenticator.java 
b/java/org/apache/catalina/authenticator/DigestAuthenticator.java
index 54e59d60c9..e7c6658150 100644
--- a/java/org/apache/catalina/authenticator/DigestAuthenticator.java
+++ b/java/org/apache/catalina/authenticator/DigestAuthenticator.java
@@ -324,7 +324,9 @@ public class DigestAuthenticator extends AuthenticatorBase {
      * @param quotesRequired <code>true</code> if quotes were required
      *
      * @return The unquoted string
+     * @deprecated This will be removed in Tomcat 11 onwards. Unused.
      */
+    @Deprecated
     protected static String removeQuotes(String quotedString, boolean 
quotesRequired) {
         // support both quoted and non-quoted
         if (quotedString.length() > 0 && quotedString.charAt(0) != '"' && 
!quotesRequired) {
@@ -342,7 +344,9 @@ public class DigestAuthenticator extends AuthenticatorBase {
      * @param quotedString The quoted string
      *
      * @return The unquoted string
+     * @deprecated This will be removed in Tomcat 11 onwards. Unused.
      */
+    @Deprecated
     protected static String removeQuotes(String quotedString) {
         return removeQuotes(quotedString, false);
     }


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

Reply via email to