You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2024/09/12 14:46:35 UTC
(commons-scxml) 01/30: Use compact array declaration
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 <ga...@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.