From f603bce889e9333a7d585eb17b8954c22a09fb72 Mon Sep 17 00:00:00 2001 From: Albert Cheng Date: Thu, 18 Jul 2013 15:13:04 -0700 Subject: [PATCH] fix a minor bug in statusline --- .../windowsazure/services/media/implementation/StatusLine.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/microsoft-azure-api/src/main/java/com/microsoft/windowsazure/services/media/implementation/StatusLine.java b/microsoft-azure-api/src/main/java/com/microsoft/windowsazure/services/media/implementation/StatusLine.java index 7fcc5d5ea948b..1b330c9e93bca 100644 --- a/microsoft-azure-api/src/main/java/com/microsoft/windowsazure/services/media/implementation/StatusLine.java +++ b/microsoft-azure-api/src/main/java/com/microsoft/windowsazure/services/media/implementation/StatusLine.java @@ -59,7 +59,7 @@ private static void expect(Reader reader, String string) { ch = reader.read(); if (ch != byteArray[i]) { throw new RuntimeException(String.format("Expected '%s', found '%s' instead", string, - string.substring(0, i) + ch)); + string.substring(0, i) + (char) ch)); } } }