commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ra...@apache.org
Subject svn commit: r719747 - in /commons/proper/scxml/branches/J6/src/main/java/org/apache/commons/scxml: SCXMLHelper.java io/SCXMLSerializer.java semantics/SCXMLSemanticsImpl.java
Date Fri, 21 Nov 2008 23:31:37 GMT
Author: rahul
Date: Fri Nov 21 15:31:37 2008
New Revision: 719747

URL: http://svn.apache.org/viewvc?rev=719747&view=rev
Log:
Some checkstyle corrections.

Modified:
    commons/proper/scxml/branches/J6/src/main/java/org/apache/commons/scxml/SCXMLHelper.java
    commons/proper/scxml/branches/J6/src/main/java/org/apache/commons/scxml/io/SCXMLSerializer.java
    commons/proper/scxml/branches/J6/src/main/java/org/apache/commons/scxml/semantics/SCXMLSemanticsImpl.java

Modified: commons/proper/scxml/branches/J6/src/main/java/org/apache/commons/scxml/SCXMLHelper.java
URL: http://svn.apache.org/viewvc/commons/proper/scxml/branches/J6/src/main/java/org/apache/commons/scxml/SCXMLHelper.java?rev=719747&r1=719746&r2=719747&view=diff
==============================================================================
--- commons/proper/scxml/branches/J6/src/main/java/org/apache/commons/scxml/SCXMLHelper.java
(original)
+++ commons/proper/scxml/branches/J6/src/main/java/org/apache/commons/scxml/SCXMLHelper.java
Fri Nov 21 15:31:37 2008
@@ -494,6 +494,7 @@
                 case '>':
                     entityName = "gt";
                     break;
+                default:
             }
             if (entityName == null) {
                 if (c > 0x7F) {

Modified: commons/proper/scxml/branches/J6/src/main/java/org/apache/commons/scxml/io/SCXMLSerializer.java
URL: http://svn.apache.org/viewvc/commons/proper/scxml/branches/J6/src/main/java/org/apache/commons/scxml/io/SCXMLSerializer.java?rev=719747&r1=719746&r2=719747&view=diff
==============================================================================
--- commons/proper/scxml/branches/J6/src/main/java/org/apache/commons/scxml/io/SCXMLSerializer.java
(original)
+++ commons/proper/scxml/branches/J6/src/main/java/org/apache/commons/scxml/io/SCXMLSerializer.java
Fri Nov 21 15:31:37 2008
@@ -589,6 +589,7 @@
      * Serialize namespace declarations for the root SCXML element.
      *
      * @param holder The {@link NamespacePrefixesHolder} object
+     * @return The serialized namespace declarations
      */
     private static String serializeNamespaceDeclarations(
             final NamespacePrefixesHolder holder) {
@@ -601,16 +602,16 @@
                 if (prefix.length() == 0 && !nsURI.equals(NAMESPACE_SCXML)) {
                     org.apache.commons.logging.Log log = LogFactory.
                         getLog(SCXMLSerializer.class);
-                    log.warn("When using the SCXMLSerializer, the default " +
-                        "namespace must be the SCXML namespace:" +
-                        NAMESPACE_SCXML);
+                    log.warn("When using the SCXMLSerializer, the default "
+                        + "namespace must be the SCXML namespace:"
+                        + NAMESPACE_SCXML);
                 } if (prefix.equals("cs") &&
                         !nsURI.equals(NAMESPACE_COMMONS_SCXML)) {
                     org.apache.commons.logging.Log log = LogFactory.
                         getLog(SCXMLSerializer.class);
-                    log.warn("When using the SCXMLSerializer, the namespace" +
-                        "prefix \"cs\" must bind to the Commons SCXML " +
-                        "namespace:" + NAMESPACE_COMMONS_SCXML);
+                    log.warn("When using the SCXMLSerializer, the namespace"
+                        + "prefix \"cs\" must bind to the Commons SCXML "
+                        + "namespace:" + NAMESPACE_COMMONS_SCXML);
                 } else if (prefix.length() > 0) {
                     b.append(" xmlns:").append(prefix).append("=\"").
                         append(nsURI).append("\"");

Modified: commons/proper/scxml/branches/J6/src/main/java/org/apache/commons/scxml/semantics/SCXMLSemanticsImpl.java
URL: http://svn.apache.org/viewvc/commons/proper/scxml/branches/J6/src/main/java/org/apache/commons/scxml/semantics/SCXMLSemanticsImpl.java?rev=719747&r1=719746&r2=719747&view=diff
==============================================================================
--- commons/proper/scxml/branches/J6/src/main/java/org/apache/commons/scxml/semantics/SCXMLSemanticsImpl.java
(original)
+++ commons/proper/scxml/branches/J6/src/main/java/org/apache/commons/scxml/semantics/SCXMLSemanticsImpl.java
Fri Nov 21 15:31:37 2008
@@ -93,9 +93,9 @@
      */
     private static final String NAMESPACES_KEY = "_ALL_NAMESPACES";
 
-    /** 
-     * Suffix for error event that are triggered in reaction to invalid data 
-     * model locations. 
+    /**
+     * Suffix for error event that are triggered in reaction to invalid data
+     * model locations.
      */
     private static final String ERR_ILLEGAL_ALLOC = ".error.illegalalloc";
 



Mime
View raw message