You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "orpiske (via GitHub)" <gi...@apache.org> on 2023/06/16 05:59:06 UTC
[GitHub] [camel] orpiske commented on pull request #10388: CAMEL-18793: add prettyBody to simple language
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: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org