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

commit e4c2ae6f5d297e809659cbbf5db07fc0a065f908
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Thu Sep 12 10:38:05 2024 -0400

    Use compact array declaration
---
 src/main/java/org/apache/commons/scxml2/env/AbstractStateMachine.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/src/main/java/org/apache/commons/scxml2/env/AbstractStateMachine.java 
b/src/main/java/org/apache/commons/scxml2/env/AbstractStateMachine.java
index a2fa703c..15bf5784 100644
--- a/src/main/java/org/apache/commons/scxml2/env/AbstractStateMachine.java
+++ b/src/main/java/org/apache/commons/scxml2/env/AbstractStateMachine.java
@@ -115,7 +115,7 @@ public abstract class AbstractStateMachine {
      * The method parameters for the activities corresponding to each
      * state in the SCXML document.
      */
-    private static final Object[] PARAMETERS = new Object[0];
+    private static final Object[] PARAMETERS = {};
 
     /**
      * The state machine that will drive the instances of this class.

Reply via email to