This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/master by this push:
new c42a118 Add a comment to explain code that might appear to be
unnecessary.
c42a118 is described below
commit c42a118833dc6e3142eebc9895105b4da0020373
Author: Mark Thomas <[email protected]>
AuthorDate: Thu Apr 2 14:42:04 2020 +0100
Add a comment to explain code that might appear to be unnecessary.
---
java/org/apache/catalina/ha/session/DeltaSession.java | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/java/org/apache/catalina/ha/session/DeltaSession.java
b/java/org/apache/catalina/ha/session/DeltaSession.java
index 9875fb2..469f8bb 100644
--- a/java/org/apache/catalina/ha/session/DeltaSession.java
+++ b/java/org/apache/catalina/ha/session/DeltaSession.java
@@ -113,6 +113,11 @@ public class DeltaSession extends StandardSession
implements Externalizable,Clus
return createRequest(null, false);
}
+ /*
+ * DeltaRequest instances are created via this protected method to enable
+ * sub-classes to over-ride the method to use custom DeltaRequest
+ * implementations.
+ */
protected DeltaRequest createRequest(String sessionId, boolean
recordAllActions) {
return new DeltaRequest(sessionId, recordAllActions);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]