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

deepak pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git


The following commit(s) were added to refs/heads/trunk by this push:
     new bfe2854786 Removed cookie deprecated methods setVersion, getVersion , 
getComment and setComment methods (OFBIZ-13189)
bfe2854786 is described below

commit bfe28547867651e09c6868720549826bf275270f
Author: Deepak Dixit <dee...@apache.org>
AuthorDate: Sun Jun 15 14:14:44 2025 +0530

    Removed cookie deprecated methods setVersion, getVersion , getComment and 
setComment methods (OFBIZ-13189)
---
 .../apache/ofbiz/catalina/container/CrossSubdomainSessionValve.java   | 4 ----
 1 file changed, 4 deletions(-)

diff --git 
a/framework/catalina/src/main/java/org/apache/ofbiz/catalina/container/CrossSubdomainSessionValve.java
 
b/framework/catalina/src/main/java/org/apache/ofbiz/catalina/container/CrossSubdomainSessionValve.java
index 833fefd826..836a8ce152 100644
--- 
a/framework/catalina/src/main/java/org/apache/ofbiz/catalina/container/CrossSubdomainSessionValve.java
+++ 
b/framework/catalina/src/main/java/org/apache/ofbiz/catalina/container/CrossSubdomainSessionValve.java
@@ -103,10 +103,6 @@ public class CrossSubdomainSessionValve extends ValveBase {
             }
             newCookie.setDomain(cookieDomain);
             newCookie.setMaxAge(cookie.getMaxAge());
-            newCookie.setVersion(cookie.getVersion());
-            if (cookie.getComment() != null) {
-                newCookie.setComment(cookie.getComment());
-            }
             newCookie.setSecure(cookie.getSecure());
             newCookie.setHttpOnly(cookie.isHttpOnly());
 

Reply via email to