commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r721553 - /commons/proper/scxml/branches/J6/src/test/java/org/apache/commons/scxml/io/SCXMLSerializerTest.java
Date Fri, 28 Nov 2008 19:37:40 GMT
Author: sebb
Date: Fri Nov 28 11:37:39 2008
New Revision: 721553

URL: http://svn.apache.org/viewvc?rev=721553&view=rev
Log:
Apply r721063 from trunk; remove String.toString()

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

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=721553&r1=721552&r2=721553&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 Nov 28 11:37:39 2008
@@ -100,7 +100,7 @@
         StringBuffer returnValue = new StringBuffer(); 
         SCXMLSerializer.serializeSend(returnValue, send, " "); 
         
-        assertEquals(assertValue.toString(), returnValue.toString());
+        assertEquals(assertValue, returnValue.toString());
     }
 
     public void testSerializeSendEmptyAttributes() {
@@ -113,7 +113,7 @@
         StringBuffer returnValue = new StringBuffer();
         SCXMLSerializer.serializeSend(returnValue, send, " ");
 
-        assertEquals(assertValue.toString(), returnValue.toString());
+        assertEquals(assertValue, returnValue.toString());
     }
 
     public void testSerializeActionsListNull() {



Mime
View raw message