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 36731c5f5c Remove deprecated code
36731c5f5c is described below
commit 36731c5f5ca5733800ff7e034f41a5b738d2c932
Author: Mark Thomas <[email protected]>
AuthorDate: Wed May 7 11:02:57 2025 +0100
Remove deprecated code
---
java/org/apache/catalina/authenticator/SavedRequest.java | 13 -------------
1 file changed, 13 deletions(-)
diff --git a/java/org/apache/catalina/authenticator/SavedRequest.java
b/java/org/apache/catalina/authenticator/SavedRequest.java
index 12804672a6..0097eeba47 100644
--- a/java/org/apache/catalina/authenticator/SavedRequest.java
+++ b/java/org/apache/catalina/authenticator/SavedRequest.java
@@ -190,19 +190,6 @@ public final class SavedRequest implements Serializable {
return originalMaxInactiveInterval;
}
- /**
- * Obtain the original session maxInactiveInterval.
- *
- * @return the original session maxInactiveInterval
- *
- * @deprecated This method will be removed in Tomcat 12.0.x onwards. Use
- * {@link
SavedRequest#getOriginalMaxInactiveIntervalOptional()}
- */
- @Deprecated
- public int getOriginalMaxInactiveInterval() {
- return originalMaxInactiveInterval.orElse(-1);
- }
-
public void setOriginalMaxInactiveInterval(int
originalMaxInactiveInterval) {
this.originalMaxInactiveInterval =
OptionalInt.of(originalMaxInactiveInterval);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]