Use an escape code for the unicode char to keep java sources using ascii characters.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1437440 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Hiram R. Chirino 2013-01-23 15:04:03 +00:00
parent 77312e5a64
commit 3602973cae

View File

@ -24,7 +24,7 @@ public class DataByteArrayInputStreamTest extends TestCase {
* 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 DataByteArrayInputStreamTest extends TestCase {
doMarshallUnMarshallValidation(accumulator);
}
void doMarshallUnMarshallValidation(String value) throws Exception {
void doMarshallUnMarshallValidation(String value) throws Exception {
DataByteArrayOutputStream out = new DataByteArrayOutputStream();
out.writeBoolean(true);
out.writeUTF(value);