This is an automated email from the ASF dual-hosted git repository.
remm pushed a commit to branch 10.1.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/10.1.x by this push:
new b082a824d1 Deprecate unused methods
b082a824d1 is described below
commit b082a824d12574108a4829650b03b815f9db9095
Author: remm <[email protected]>
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 6014317910..49245d03a4 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: [email protected]
For additional commands, e-mail: [email protected]