activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r1437440 - /activemq/trunk/activemq-client/src/test/java/org/apache/activemq/util/DataByteArrayInputStreamTest.java
Date Wed, 23 Jan 2013 15:04:03 GMT
Author: chirino
Date: Wed Jan 23 15:04:03 2013
New Revision: 1437440

URL: http://svn.apache.org/viewvc?rev=1437440&view=rev
Log:
Use an escape code for the unicode char to keep java sources using ascii characters.


Modified:
    activemq/trunk/activemq-client/src/test/java/org/apache/activemq/util/DataByteArrayInputStreamTest.java

Modified: activemq/trunk/activemq-client/src/test/java/org/apache/activemq/util/DataByteArrayInputStreamTest.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-client/src/test/java/org/apache/activemq/util/DataByteArrayInputStreamTest.java?rev=1437440&r1=1437439&r2=1437440&view=diff
==============================================================================
--- activemq/trunk/activemq-client/src/test/java/org/apache/activemq/util/DataByteArrayInputStreamTest.java
(original)
+++ activemq/trunk/activemq-client/src/test/java/org/apache/activemq/util/DataByteArrayInputStreamTest.java
Wed Jan 23 15:04:03 2013
@@ -24,7 +24,7 @@ public class DataByteArrayInputStreamTes
      * https://issues.apache.org/activemq/browse/AMQ-1911
      */
     public void testNonAscii() throws Exception {
-        doMarshallUnMarshallValidation("meißen");
+        doMarshallUnMarshallValidation("mei\u00DFen");
         
         String accumulator = new String();
         
@@ -62,7 +62,7 @@ public class DataByteArrayInputStreamTes
         doMarshallUnMarshallValidation(accumulator);
     }
     
-    void doMarshallUnMarshallValidation(String value) throws Exception {        
+    void doMarshallUnMarshallValidation(String value) throws Exception {
         DataByteArrayOutputStream out = new DataByteArrayOutputStream();
         out.writeBoolean(true);
         out.writeUTF(value);



Mime
View raw message