[DMAAP-MR] Remove acl check on topics
[dmaap/messagerouter/messageservice.git] / src / main / java / org / onap / dmaap / dmf / mr / utils / DMaaPResponseBuilder.java
index 3ca60b0..419c652 100644 (file)
@@ -86,7 +86,7 @@ public class DMaaPResponseBuilder {
         */
        public static void respondOkWithHtml(DMaaPContext ctx, String html) {
                try {
-                       respondOkWithStream(ctx, "text/html", new ByteArrayInputStream(html.toString().getBytes()));
+                       respondOkWithStream(ctx, "text/html", new ByteArrayInputStream(html.getBytes()));
                } catch (Exception excp) {
                        log.error(excp.getMessage(), excp);
                }