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 a631630c84615b71e8af450a268c35182d357129
Author: Gary Gregory <[email protected]>
AuthorDate: Sun Jan 4 15:40:52 2026 -0500

    Remove dead comments
---
 .../java/org/apache/commons/scxml2/io/ModelUpdater.java   |  1 -
 .../java/org/apache/commons/scxml2/io/SCXMLReader.java    | 11 -----------
 .../java/org/apache/commons/scxml2/io/SCXMLWriter.java    | 15 ---------------
 3 files changed, 27 deletions(-)

diff --git a/src/main/java/org/apache/commons/scxml2/io/ModelUpdater.java 
b/src/main/java/org/apache/commons/scxml2/io/ModelUpdater.java
index 89aabf7d..6b9f0c24 100644
--- a/src/main/java/org/apache/commons/scxml2/io/ModelUpdater.java
+++ b/src/main/java/org/apache/commons/scxml2/io/ModelUpdater.java
@@ -44,7 +44,6 @@ import org.apache.commons.scxml2.model.TransitionalState;
  */
 final class ModelUpdater {
 
-    //// Error messages
     /**
      * Error message when SCXML document specifies an illegal initial state.
      */
diff --git a/src/main/java/org/apache/commons/scxml2/io/SCXMLReader.java 
b/src/main/java/org/apache/commons/scxml2/io/SCXMLReader.java
index 3eddede3..522c62f4 100644
--- a/src/main/java/org/apache/commons/scxml2/io/SCXMLReader.java
+++ b/src/main/java/org/apache/commons/scxml2/io/SCXMLReader.java
@@ -119,7 +119,6 @@ import org.xml.sax.SAXException;
  */
 public final class SCXMLReader {
 
-    //------------------------- CONFIGURATION CLASS -------------------------//
     /**
      * <p>
      * Configuration for the {@link SCXMLReader}. The configuration properties 
necessary for the following are
@@ -137,10 +136,6 @@ public final class SCXMLReader {
      */
     public static class Configuration {
 
-        /*
-         * Configuration properties for this {@link SCXMLReader}.
-         */
-        // XMLInputFactory configuration properties.
         /**
          * The {@code factoryId} to use for the {@link XMLInputFactory}.
          */
@@ -172,7 +167,6 @@ public final class SCXMLReader {
          */
         final XMLReporter reporter;
 
-        // XMLStreamReader configuration properties.
         /**
          * The {@code encoding} to use for the {@link XMLStreamReader}.
          */
@@ -188,7 +182,6 @@ public final class SCXMLReader {
          */
         final boolean validate;
 
-        // Commons SCXML object model configuration properties.
         /**
          * The list of Commons SCXML custom actions that will be available for 
this document.
          */
@@ -204,7 +197,6 @@ public final class SCXMLReader {
          */
         final boolean useContextClassLoaderForCustomActions;
 
-        // Mutable Commons SCXML object model configuration properties.
         /**
          * The parent SCXML document if this document is src'ed in via the 
&lt;state&gt; or &lt;parallel&gt; element's
          * "src" attribute.
@@ -456,7 +448,6 @@ public final class SCXMLReader {
      * This can be turned on (as needed by SCXMLReader) by setting this 
property TRUE
      */
     public final static String XMLInputFactory_JDK_PROP_REPORT_CDATA = 
"http://java.sun.com/xml/stream/properties/report-cdata-event";;
-    //---------------------- PRIVATE CONSTANTS ----------------------//
     /**
      * The version attribute value the SCXML element <em>must</em> have as 
stated by the spec: 3.2.1
      */
@@ -467,7 +458,6 @@ public final class SCXMLReader {
      */
     private static final String XMLNS_DEFAULT = null;
 
-    //---- ERROR MESSAGES ----//
     /**
      * Null URL passed as argument.
      */
@@ -1808,7 +1798,6 @@ public final class SCXMLReader {
         state.setInitial(initial);
     }
 
-    //---------------------- PRIVATE UTILITY METHODS ----------------------//
     /**
      * Parse the SCXML document at the supplied {@link URL} using the supplied 
{@link Configuration}, but do not
      * wire up the object model to be usable just yet. Exactly one of the url, 
path, stream, reader or source
diff --git a/src/main/java/org/apache/commons/scxml2/io/SCXMLWriter.java 
b/src/main/java/org/apache/commons/scxml2/io/SCXMLWriter.java
index de8c710e..3159aad1 100644
--- a/src/main/java/org/apache/commons/scxml2/io/SCXMLWriter.java
+++ b/src/main/java/org/apache/commons/scxml2/io/SCXMLWriter.java
@@ -105,9 +105,6 @@ import org.w3c.dom.Node;
  */
 public class SCXMLWriter {
 
-    //---------------------- PRIVATE CONSTANTS ----------------------//
-
-    //------------------------- CONFIGURATION CLASS -------------------------//
     /**
      * <p>
      * Configuration for the {@link SCXMLWriter}. The configuration properties 
necessary for the following are
@@ -125,7 +122,6 @@ public class SCXMLWriter {
         /*
          * Configuration properties for this {@link SCXMLWriter}.
          */
-        // XMLOutputFactory configuration properties.
         /**
          * The {@code factoryId} to use for the {@link XMLOutputFactory}.
          */
@@ -142,7 +138,6 @@ public class SCXMLWriter {
          */
         final Map<String, Object> properties;
 
-        // XMLStreamWriter configuration properties.
         /**
          * The {@code encoding} to use for the {@link XMLStreamWriter}.
          */
@@ -160,7 +155,6 @@ public class SCXMLWriter {
          */
         final Writer internalWriter;
 
-        // Underlying stream or writer close
         /**
          * Whether to close the underlying stream or writer passed by the 
caller.
          */
@@ -176,9 +170,6 @@ public class SCXMLWriter {
          */
         String prettyPrintOutput;
 
-        /*
-         * Public constructors
-         */
         /**
          * Default constructor.
          */
@@ -187,9 +178,6 @@ public class SCXMLWriter {
             this(null, null, null, null, false, false, false);
         }
 
-        /*
-         * Package access constructors
-         */
         /**
          * Convenience package access constructor.
          *
@@ -258,7 +246,6 @@ public class SCXMLWriter {
         }
     }
 
-    //---- ERROR MESSAGES ----//
     /**
      * Null OutputStream passed as argument.
      */
@@ -274,7 +261,6 @@ public class SCXMLWriter {
      */
     private static final String ERR_NULL_RES = "Cannot parse null Result";
 
-    //------------------------- STATIC MEMBERS -------------------------//
     /**
      * The JAXP transformer.
      */
@@ -408,7 +394,6 @@ public class SCXMLWriter {
         return xsw;
     }
 
-    //------------------------- PUBLIC API METHODS -------------------------//
     /**
      * Writes out the Commons SCXML object model as an SCXML document (used
      * primarily for testing, debugging and visual verification), returned as

Reply via email to