Improved: Update build.gradle to the latest dependencies
Checkstyle is a game where you can't never win.
And the result (formatting) is sometimes ugly, it's a pain!
@@ -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);
}
}
