orpiske commented on PR #10388:
URL: https://github.com/apache/camel/pull/10388#issuecomment-1594149393

   > I was able to handle this extracting 
org.apache.camel.util.xml.XmlPrettyPrinter to a new package and removing his 
dependency with camel-core-model. To do that I had to copy/paste 
org.apache.camel.util.StringHelper.padString to 
org.apache.camel.util.xml.XmlPrettyPrinter
   
   Normally I would frown copying/pasting, but I think it may be OK here. After 
this is merging, we can replace both of them with `" ".repeat(level * blanks)` 
as the JDK's `repeat` is about 2 times faster than the one we have (likely due 
to using intrinsics under the hood)
   
   


-- 
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