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
The following commit(s) were added to refs/heads/main by this push:
new afe824100b Use final to clarify intent
afe824100b is described below
commit afe824100b8d0e012104b35f15f99633e7df1a50
Author: Mark Thomas <[email protected]>
AuthorDate: Mon Sep 25 08:05:50 2023 +0100
Use final to clarify intent
---
java/org/apache/catalina/ha/session/DeltaRequest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/java/org/apache/catalina/ha/session/DeltaRequest.java
b/java/org/apache/catalina/ha/session/DeltaRequest.java
index db26be78ef..6f21d7f8b2 100644
--- a/java/org/apache/catalina/ha/session/DeltaRequest.java
+++ b/java/org/apache/catalina/ha/session/DeltaRequest.java
@@ -63,7 +63,7 @@ public class DeltaRequest implements Externalizable {
public static final String NAME_LISTENER = "__SET__LISTENER__";
private String sessionId;
- private Deque<AttributeInfo> actions = new ArrayDeque<>();
+ private final Deque<AttributeInfo> actions = new ArrayDeque<>();
private final Deque<AttributeInfo> actionPool = new ArrayDeque<>();
private boolean recordAllActions = false;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]