[ofbiz-framework] branch trunk updated: Improved: Update build.gradle to the latest dependencies

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ofbiz-framework] branch trunk updated: Improved: Update build.gradle to the latest dependencies

jleroux@apache.org
This is an automated email from the ASF dual-hosted git repository.

jleroux 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 df52f73  Improved: Update build.gradle to the latest dependencies
df52f73 is described below

commit df52f733b34e716fe126174edfb5e0219ee6e44d
Author: Jacques Le Roux <[hidden email]>
AuthorDate: Tue Apr 21 17:31:27 2020 +0200

    Improved: Update build.gradle to the latest dependencies
   
    (OFBIZ-11603)
   
    Checkstyle is a game where you can't never win.
    And the result (formatting) is sometimes ugly, it's a pain!
---
 .../ofbiz/catalina/container/CrossSubdomainSessionValve.java  | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 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 1ca6d82..81d6d60 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
@@ -115,9 +115,14 @@ public class CrossSubdomainSessionValve extends ValveBase {
                 if (mimeHeaders.getName(i).equals("Set-Cookie")) {
                     MessageBytes value = mimeHeaders.getValue(i);
                     if (value.indexOf(cookie.getName()) >= 0) {
-                        String newCookieValue = request.getContext().getCookieProcessor().generateHeader(newCookie, request);
-                        if (Debug.verboseOn()) Debug.logVerbose("CrossSubdomainSessionValve: old Set-Cookie value: " + value.toString(), MODULE);
-                        if (Debug.verboseOn()) Debug.logVerbose("CrossSubdomainSessionValve: new Set-Cookie value: " + newCookieValue, MODULE);
+                        String newCookieValue = request.getContext().
+                                getCookieProcessor().generateHeader(newCookie,request);
+                        if (Debug.verboseOn())
+                            Debug.logVerbose("CrossSubdomainSessionValve: old Set-Cookie value: " + value.toString(),
+                                    MODULE);
+                        if (Debug.verboseOn())
+                            Debug.logVerbose("CrossSubdomainSessionValve: new Set-Cookie value: " + newCookieValue,
+                                    MODULE);
                         value.setString(newCookieValue);
                     }
                 }