This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-scxml.git
The following commit(s) were added to refs/heads/master by this push:
new 502c0190 Normalize local variable names
502c0190 is described below
commit 502c019096a3f2856adc65176df220deebce867b
Author: Gary Gregory <[email protected]>
AuthorDate: Sun Jul 14 12:54:34 2024 -0400
Normalize local variable names
---
src/main/java/org/apache/commons/scxml2/SCInstance.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/main/java/org/apache/commons/scxml2/SCInstance.java
b/src/main/java/org/apache/commons/scxml2/SCInstance.java
index 3d678adf..53073200 100644
--- a/src/main/java/org/apache/commons/scxml2/SCInstance.java
+++ b/src/main/java/org/apache/commons/scxml2/SCInstance.java
@@ -348,8 +348,8 @@ public class SCInstance implements Serializable {
final Context internalContext = new SimpleContext(rootContext);
systemContext = new SCXMLSystemContext(internalContext);
systemContext.getContext().set(SCXMLSystemContext.SESSIONID_KEY,
UUID.randomUUID().toString());
- final String _name = stateMachine != null &&
stateMachine.getName() != null ? stateMachine.getName() : "";
-
systemContext.getContext().set(SCXMLSystemContext.SCXML_NAME_KEY, _name);
+ final String name = stateMachine != null &&
stateMachine.getName() != null ? stateMachine.getName() : "";
+
systemContext.getContext().set(SCXMLSystemContext.SCXML_NAME_KEY, name);
systemContext.getPlatformVariables().put(SCXMLSystemContext.STATUS_KEY,
currentStatus);
}
}