Skip to content

Commit a631630

Browse files
committed
Remove dead comments
1 parent 812eb54 commit a631630

3 files changed

Lines changed: 0 additions & 27 deletions

File tree

src/main/java/org/apache/commons/scxml2/io/ModelUpdater.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@
4444
*/
4545
final class ModelUpdater {
4646

47-
//// Error messages
4847
/**
4948
* Error message when SCXML document specifies an illegal initial state.
5049
*/

src/main/java/org/apache/commons/scxml2/io/SCXMLReader.java

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@
119119
*/
120120
public final class SCXMLReader {
121121

122-
//------------------------- CONFIGURATION CLASS -------------------------//
123122
/**
124123
* <p>
125124
* Configuration for the {@link SCXMLReader}. The configuration properties necessary for the following are
@@ -137,10 +136,6 @@ public final class SCXMLReader {
137136
*/
138137
public static class Configuration {
139138

140-
/*
141-
* Configuration properties for this {@link SCXMLReader}.
142-
*/
143-
// XMLInputFactory configuration properties.
144139
/**
145140
* The {@code factoryId} to use for the {@link XMLInputFactory}.
146141
*/
@@ -172,7 +167,6 @@ public static class Configuration {
172167
*/
173168
final XMLReporter reporter;
174169

175-
// XMLStreamReader configuration properties.
176170
/**
177171
* The {@code encoding} to use for the {@link XMLStreamReader}.
178172
*/
@@ -188,7 +182,6 @@ public static class Configuration {
188182
*/
189183
final boolean validate;
190184

191-
// Commons SCXML object model configuration properties.
192185
/**
193186
* The list of Commons SCXML custom actions that will be available for this document.
194187
*/
@@ -204,7 +197,6 @@ public static class Configuration {
204197
*/
205198
final boolean useContextClassLoaderForCustomActions;
206199

207-
// Mutable Commons SCXML object model configuration properties.
208200
/**
209201
* The parent SCXML document if this document is src'ed in via the &lt;state&gt; or &lt;parallel&gt; element's
210202
* "src" attribute.
@@ -456,7 +448,6 @@ public void setStrict(final boolean strict) {
456448
* This can be turned on (as needed by SCXMLReader) by setting this property TRUE
457449
*/
458450
public final static String XMLInputFactory_JDK_PROP_REPORT_CDATA = "http://java.sun.com/xml/stream/properties/report-cdata-event";
459-
//---------------------- PRIVATE CONSTANTS ----------------------//
460451
/**
461452
* The version attribute value the SCXML element <em>must</em> have as stated by the spec: 3.2.1
462453
*/
@@ -467,7 +458,6 @@ public void setStrict(final boolean strict) {
467458
*/
468459
private static final String XMLNS_DEFAULT = null;
469460

470-
//---- ERROR MESSAGES ----//
471461
/**
472462
* Null URL passed as argument.
473463
*/
@@ -1808,7 +1798,6 @@ private static void readInitial(final XMLStreamReader reader, final Configuratio
18081798
state.setInitial(initial);
18091799
}
18101800

1811-
//---------------------- PRIVATE UTILITY METHODS ----------------------//
18121801
/**
18131802
* Parse the SCXML document at the supplied {@link URL} using the supplied {@link Configuration}, but do not
18141803
* wire up the object model to be usable just yet. Exactly one of the url, path, stream, reader or source

src/main/java/org/apache/commons/scxml2/io/SCXMLWriter.java

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,6 @@
105105
*/
106106
public class SCXMLWriter {
107107

108-
//---------------------- PRIVATE CONSTANTS ----------------------//
109-
110-
//------------------------- CONFIGURATION CLASS -------------------------//
111108
/**
112109
* <p>
113110
* Configuration for the {@link SCXMLWriter}. The configuration properties necessary for the following are
@@ -125,7 +122,6 @@ public static class Configuration {
125122
/*
126123
* Configuration properties for this {@link SCXMLWriter}.
127124
*/
128-
// XMLOutputFactory configuration properties.
129125
/**
130126
* The {@code factoryId} to use for the {@link XMLOutputFactory}.
131127
*/
@@ -142,7 +138,6 @@ public static class Configuration {
142138
*/
143139
final Map<String, Object> properties;
144140

145-
// XMLStreamWriter configuration properties.
146141
/**
147142
* The {@code encoding} to use for the {@link XMLStreamWriter}.
148143
*/
@@ -160,7 +155,6 @@ public static class Configuration {
160155
*/
161156
final Writer internalWriter;
162157

163-
// Underlying stream or writer close
164158
/**
165159
* Whether to close the underlying stream or writer passed by the caller.
166160
*/
@@ -176,9 +170,6 @@ public static class Configuration {
176170
*/
177171
String prettyPrintOutput;
178172

179-
/*
180-
* Public constructors
181-
*/
182173
/**
183174
* Default constructor.
184175
*/
@@ -187,9 +178,6 @@ public Configuration() {
187178
this(null, null, null, null, false, false, false);
188179
}
189180

190-
/*
191-
* Package access constructors
192-
*/
193181
/**
194182
* Convenience package access constructor.
195183
*
@@ -258,7 +246,6 @@ public Configuration(final String factoryId, final ClassLoader factoryClassLoade
258246
}
259247
}
260248

261-
//---- ERROR MESSAGES ----//
262249
/**
263250
* Null OutputStream passed as argument.
264251
*/
@@ -274,7 +261,6 @@ public Configuration(final String factoryId, final ClassLoader factoryClassLoade
274261
*/
275262
private static final String ERR_NULL_RES = "Cannot parse null Result";
276263

277-
//------------------------- STATIC MEMBERS -------------------------//
278264
/**
279265
* The JAXP transformer.
280266
*/
@@ -408,7 +394,6 @@ private static XMLStreamWriter getWriter(final Configuration configuration, fina
408394
return xsw;
409395
}
410396

411-
//------------------------- PUBLIC API METHODS -------------------------//
412397
/**
413398
* Writes out the Commons SCXML object model as an SCXML document (used
414399
* primarily for testing, debugging and visual verification), returned as

0 commit comments

Comments
 (0)