[java-shib-shared] branch main updated: Rename setter to avoid type confusion.
Scott Cantor
cantor.2 at osu.edu
Thu Jun 1 14:05:12 UTC 2023
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch main
in repository java-shib-shared.
View the commit online:
http://git.shibboleth.net/view/?p=java-shib-shared.git;a=commit;h=df6fc45169423fc5d222ece60a4dfdc4c32c2bf1
The following commit(s) were added to refs/heads/main by this push:
new df6fc451 Rename setter to avoid type confusion.
df6fc451 is described below
commit df6fc45169423fc5d222ece60a4dfdc4c32c2bf1
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Thu Jun 1 10:05:09 2023 -0400
Rename setter to avoid type confusion.
---
.../src/main/java/net/shibboleth/shared/net/CookieManager.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/shib-networking/src/main/java/net/shibboleth/shared/net/CookieManager.java b/shib-networking/src/main/java/net/shibboleth/shared/net/CookieManager.java
index aab9dd7c..7b16831f 100644
--- a/shib-networking/src/main/java/net/shibboleth/shared/net/CookieManager.java
+++ b/shib-networking/src/main/java/net/shibboleth/shared/net/CookieManager.java
@@ -180,7 +180,7 @@ public final class CookieManager extends AbstractInitializableComponent {
*
* @since 9.0.0
*/
- public void setMaxAge(@Nonnull final Duration age) {
+ public void setMaxAgeDuration(@Nonnull final Duration age) {
checkSetterPreconditions();
maxAge = (int) Constraint.isNotNull(age, "Age cannot be null").getSeconds();
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list