ThStock commented on a change in pull request #240: Added extension point for 
custom delta requests
URL: https://github.com/apache/tomcat/pull/240#discussion_r379835476
 
 

 ##########
 File path: java/org/apache/catalina/ha/session/DeltaSession.java
 ##########
 @@ -106,7 +106,15 @@ public DeltaSession(Manager manager) {
         super(manager);
         boolean recordAllActions = manager instanceof ClusterManagerBase &&
                 ((ClusterManagerBase)manager).isRecordAllActions();
-        deltaRequest = new DeltaRequest(getIdInternal(), recordAllActions);
+        deltaRequest = newDeltaRequest(getIdInternal(), recordAllActions);
+    }
+
+    protected DeltaRequest newDeltaRequest() {
+        return new DeltaRequest();
 
 Review comment:
   What do you think, is the latest change acceptable?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to