commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ra...@apache.org
Subject svn commit: r681835 - in /commons/proper/scxml/branches/J6/src: main/java/org/apache/commons/scxml/io/SCXMLSerializer.java test/java/org/apache/commons/scxml/io/SCXMLSerializerTest.java
Date Fri, 01 Aug 2008 21:23:46 GMT
Author: rahul
Date: Fri Aug  1 14:23:46 2008
New Revision: 681835

URL: http://svn.apache.org/viewvc?rev=681835&view=rev
Log:
Port r681832 from trunk.
Correct typo in <send> serialization and minor changes to corresponding test.
SCXML-83

Modified:
    commons/proper/scxml/branches/J6/src/main/java/org/apache/commons/scxml/io/SCXMLSerializer.java
    commons/proper/scxml/branches/J6/src/test/java/org/apache/commons/scxml/io/SCXMLSerializerTest.java

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=681835&r1=681834&r2=681835&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 Aug  1 14:23:46 2008
@@ -490,7 +490,7 @@
             .append(send.getTarget()).append("\" targetType=\"")
             .append(send.getTargettype()).append("\" namelist=\"")
             .append(send.getNamelist()).append("\" delay=\"")
-            .append(send.getDelay()).append("\" events=\"")
+            .append(send.getDelay()).append("\" event=\"")
             .append(send.getEvent()).append("\" hints=\"")
             .append(send.getHints()).append("\">\n")
             .append(getBodyContent(send))

Modified: commons/proper/scxml/branches/J6/src/test/java/org/apache/commons/scxml/io/SCXMLSerializerTest.java
URL: http://svn.apache.org/viewvc/commons/proper/scxml/branches/J6/src/test/java/org/apache/commons/scxml/io/SCXMLSerializerTest.java?rev=681835&r1=681834&r2=681835&view=diff
==============================================================================
--- commons/proper/scxml/branches/J6/src/test/java/org/apache/commons/scxml/io/SCXMLSerializerTest.java
(original)
+++ commons/proper/scxml/branches/J6/src/test/java/org/apache/commons/scxml/io/SCXMLSerializerTest.java
Fri Aug  1 14:23:46 2008
@@ -75,7 +75,7 @@
         send.setTarget("newTarget");
         send.setTargettype("newTargetType");
         send.setNamelist("names");
-        send.setDelay("4 secs");
+        send.setDelay("4s");
         send.setEvent("turnoff");
         send.setHints("guess");
         
@@ -83,8 +83,8 @@
                 "target=\"newTarget\" " +
                 "targetType=\"newTargetType\" " +
                 "namelist=\"names\" " +
-                "delay=\"4 secs\" " +
-                "events=\"turnoff\" " +
+                "delay=\"4s\" " +
+                "event=\"turnoff\" " +
                 "hints=\"guess\">\n </send>\n";
         
         StringBuffer returnValue = new StringBuffer(); 



Mime
View raw message