Dekrate commented on code in PR #19497:
URL: https://github.com/apache/camel/pull/19497#discussion_r2417881843


##########
components/camel-jmx/src/test/java/org/apache/camel/component/jmx/XmlFixture.java:
##########
@@ -54,7 +59,9 @@ public static void dump(Source aActual)
         TransformerFactory tf = TransformerFactory.newInstance();
         Transformer transformer = tf.newTransformer();
         transformer.setOutputProperty(OutputKeys.INDENT, "yes");
-        transformer.transform(aActual, new StreamResult(System.out));
+        StringWriter sw = new StringWriter();

Review Comment:
   I have seen some methods to get deleted, but because my task is different, I 
left most of them.
   Of course I will delete it :)



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to