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

commit 551a9d07f000c677df731a4e4ae63a8f11198e5b
Author: Mark Thomas <[email protected]>
AuthorDate: Wed Nov 26 20:08:28 2025 +0000

    Fix formatting of #902
---
 java/org/apache/catalina/valves/CrawlerSessionManagerValve.java | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/java/org/apache/catalina/valves/CrawlerSessionManagerValve.java 
b/java/org/apache/catalina/valves/CrawlerSessionManagerValve.java
index aa8b595226..1b44daec6e 100644
--- a/java/org/apache/catalina/valves/CrawlerSessionManagerValve.java
+++ b/java/org/apache/catalina/valves/CrawlerSessionManagerValve.java
@@ -61,7 +61,7 @@ public class CrawlerSessionManagerValve extends ValveBase {
 
     private boolean isContextAware = true;
 
-    private Function<Request, String> clientIdentifierFunction = 
this::getClientIdentifier;
+    private Function<Request,String> clientIdentifierFunction = 
this::getClientIdentifier;
 
 
     /**
@@ -167,12 +167,12 @@ public class CrawlerSessionManagerValve extends ValveBase 
{
     }
 
     /**
-     * Specify the clientIdentifier function that will be used to identify 
unique clients. The default is to use
-     * the client IP address, optionally combined with the host name and 
context name.
+     * Specify the clientIdentifier function that will be used to identify 
unique clients. The default is to use the
+     * client IP address, optionally combined with the host name and context 
name.
      *
      * @param clientIdentifierFunction The new function used to build 
identifiers for clients.
      */
-    public void setClientIdentifierFunction(Function<Request, String> 
clientIdentifierFunction) {
+    public void setClientIdentifierFunction(Function<Request,String> 
clientIdentifierFunction) {
         this.clientIdentifierFunction = clientIdentifierFunction;
     }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to