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 d828eb61 Normalize end of comments d828eb61 is described below commit d828eb61af527a372e39d31aa1afae9473ed4165 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Sat Jan 20 10:55:31 2024 -0500 Normalize end of comments --- src/main/java/org/apache/commons/scxml2/TriggerEvent.java | 5 ----- .../java/org/apache/commons/scxml2/env/SimpleContext.java | 1 - .../org/apache/commons/scxml2/env/javascript/JSBindings.java | 1 - .../org/apache/commons/scxml2/env/javascript/JSEvaluator.java | 1 - .../org/apache/commons/scxml2/semantics/ErrorConstants.java | 1 - .../apache/commons/scxml2/env/javascript/JSContextTest.java | 2 -- .../apache/commons/scxml2/env/javascript/JSEvaluatorTest.java | 11 ----------- 7 files changed, 22 deletions(-) diff --git a/src/main/java/org/apache/commons/scxml2/TriggerEvent.java b/src/main/java/org/apache/commons/scxml2/TriggerEvent.java index bad879e8..16218136 100644 --- a/src/main/java/org/apache/commons/scxml2/TriggerEvent.java +++ b/src/main/java/org/apache/commons/scxml2/TriggerEvent.java @@ -38,31 +38,26 @@ public class TriggerEvent implements Serializable { /** * <code>CHANGE_EVENT</code>. - * */ public static final int CHANGE_EVENT = 2; /** * <code>SIGNAL_EVENT</code>. - * */ public static final int SIGNAL_EVENT = 3; /** * <code>TIME_EVENT</code>. - * */ public static final int TIME_EVENT = 4; /** * <code>ERROR_EVENT</code>. - * */ public static final int ERROR_EVENT = 5; /** * <code>CANCEL_EVENT</code>. - * */ public static final int CANCEL_EVENT = 6; diff --git a/src/main/java/org/apache/commons/scxml2/env/SimpleContext.java b/src/main/java/org/apache/commons/scxml2/env/SimpleContext.java index 1a9b925d..78f3780e 100644 --- a/src/main/java/org/apache/commons/scxml2/env/SimpleContext.java +++ b/src/main/java/org/apache/commons/scxml2/env/SimpleContext.java @@ -43,7 +43,6 @@ public class SimpleContext implements Context, Serializable { /** * Constructs a new instance. - * */ public SimpleContext() { this(null, null); diff --git a/src/main/java/org/apache/commons/scxml2/env/javascript/JSBindings.java b/src/main/java/org/apache/commons/scxml2/env/javascript/JSBindings.java index 363f82ee..ea48c5a6 100644 --- a/src/main/java/org/apache/commons/scxml2/env/javascript/JSBindings.java +++ b/src/main/java/org/apache/commons/scxml2/env/javascript/JSBindings.java @@ -38,7 +38,6 @@ public class JSBindings implements Bindings { * @param jsContext initial SCXML Context to use for script variables. * * @throws IllegalArgumentException Thrown if <code>jsContext</code> is {@code null}. - * */ public JSBindings(final JSContext jsContext) { setContext(jsContext); diff --git a/src/main/java/org/apache/commons/scxml2/env/javascript/JSEvaluator.java b/src/main/java/org/apache/commons/scxml2/env/javascript/JSEvaluator.java index 487f2503..98f8d50f 100644 --- a/src/main/java/org/apache/commons/scxml2/env/javascript/JSEvaluator.java +++ b/src/main/java/org/apache/commons/scxml2/env/javascript/JSEvaluator.java @@ -292,7 +292,6 @@ public class JSEvaluator extends AbstractBaseEvaluator { * Creates a child context. * * @return Returns a new child JSContext. - * */ @Override public Context newContext(final Context parent) { diff --git a/src/main/java/org/apache/commons/scxml2/semantics/ErrorConstants.java b/src/main/java/org/apache/commons/scxml2/semantics/ErrorConstants.java index 9fd47710..6212ff2b 100644 --- a/src/main/java/org/apache/commons/scxml2/semantics/ErrorConstants.java +++ b/src/main/java/org/apache/commons/scxml2/semantics/ErrorConstants.java @@ -32,7 +32,6 @@ public class ErrorConstants { /** * An initial state for a composite state whose Transition does not. * Map to a descendant of the composite state. - * */ public static final String ILLEGAL_INITIAL = "ILLEGAL_INITIAL"; diff --git a/src/test/java/org/apache/commons/scxml2/env/javascript/JSContextTest.java b/src/test/java/org/apache/commons/scxml2/env/javascript/JSContextTest.java index e822c039..2f393a9f 100644 --- a/src/test/java/org/apache/commons/scxml2/env/javascript/JSContextTest.java +++ b/src/test/java/org/apache/commons/scxml2/env/javascript/JSContextTest.java @@ -28,7 +28,6 @@ import org.junit.jupiter.api.Test; public class JSContextTest { /** * Tests implementation of JSContext 'child' constructor. - * */ @Test public void testChildConstructor() { @@ -37,7 +36,6 @@ public class JSContextTest { /** * Tests implementation of JSContext default constructor. - * */ @Test public void testDefaultConstructor() { diff --git a/src/test/java/org/apache/commons/scxml2/env/javascript/JSEvaluatorTest.java b/src/test/java/org/apache/commons/scxml2/env/javascript/JSEvaluatorTest.java index 6cc6851b..d6775407 100644 --- a/src/test/java/org/apache/commons/scxml2/env/javascript/JSEvaluatorTest.java +++ b/src/test/java/org/apache/commons/scxml2/env/javascript/JSEvaluatorTest.java @@ -114,7 +114,6 @@ public class JSEvaluatorTest { /** * Creates and initializes an SCXML data model in the context. - * */ @BeforeEach public void setUp() throws Exception { @@ -127,7 +126,6 @@ public class JSEvaluatorTest { /** * Ensures implementation of JSEvaluator default constructor and test basic * expression evaluation. - * */ @Test public void testBasic() throws SCXMLExpressionException { @@ -139,7 +137,6 @@ public class JSEvaluatorTest { /** * Tests evaluation with SCXML data model expressions. - * */ @Test public void testDataModelExpressions() throws Exception { @@ -150,7 +147,6 @@ public class JSEvaluatorTest { /** * Tests evaluation of SCXML data model locations. - * */ @Test public void testDataModelLocations() throws Exception { @@ -163,7 +159,6 @@ public class JSEvaluatorTest { /** * Tests handling of illegal expressions. - * */ @Test public void testIllegalExpresssion() { @@ -180,7 +175,6 @@ public class JSEvaluatorTest { /** * Tests evaluation with invalid SCXML data model expressions. - * */ @Test public void testInvalidDataModelExpressions() { @@ -193,7 +187,6 @@ public class JSEvaluatorTest { /** * Tests evaluation of invalid SCXML data model locations. - * */ @Test public void testInvalidDataModelLocations() throws Exception { @@ -204,7 +197,6 @@ public class JSEvaluatorTest { /** * Tests evaluation with invalid SCXML context variables. - * */ @Test public void testInvalidVarExpressions() { @@ -234,7 +226,6 @@ public class JSEvaluatorTest { /** * Tests evaluation of Javascript functions with variables from SCXML context. - * */ @Test public void testScriptFunctions() throws Exception { @@ -245,7 +236,6 @@ public class JSEvaluatorTest { /** * Tests evaluation with simple standard expressions. - * */ @Test public void testStandardExpressions() throws Exception { @@ -267,7 +257,6 @@ public class JSEvaluatorTest { /** * Tests evaluation with SCXML context variables. - * */ @Test public void testVarExpressions() throws Exception {