This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push: new d02c265808e Regen / fix formatting errors on CI d02c265808e is described below commit d02c265808e5922c5c7a6e3745b07021494349cc Author: Otavio Rodolfo Piske <angusyo...@gmail.com> AuthorDate: Thu Jun 27 07:50:17 2024 +0200 Regen / fix formatting errors on CI Ref: d91d4e0cbe2cc5ce6e174642e6f1ba0f7bf8ad26 --- core/camel-api/src/main/java/org/apache/camel/Message.java | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/core/camel-api/src/main/java/org/apache/camel/Message.java b/core/camel-api/src/main/java/org/apache/camel/Message.java index 6b9b8a0aa06..a056aeb2dcb 100644 --- a/core/camel-api/src/main/java/org/apache/camel/Message.java +++ b/core/camel-api/src/main/java/org/apache/camel/Message.java @@ -249,14 +249,15 @@ public interface Message { * reset the stream to be able to re-read again (if possible). See more details about * <a href="http://camel.apache.org/stream-caching.html">stream caching</a>. * <p/> - * The helper method {@link org.apache.camel.support.ExchangeHelper#getBodyAndResetStreamCache(Exchange, Class)} - * can be used instead that gets the body, convert to the given type, and ensures to reset the body if its stream based. + * The helper method {@link org.apache.camel.support.ExchangeHelper#getBodyAndResetStreamCache(Exchange, Class)} can + * be used instead that gets the body, convert to the given type, and ensures to reset the body if its stream based. * * @param type the type that the body * @return the body of the message as the specified type, or <tt>null</tt> if body does not * exist * @throws TypeConversionException is thrown if error during type conversion - * @see org.apache.camel.support.ExchangeHelper#getBodyAndResetStreamCache(Exchange, Class) + * @see org.apache.camel.support.ExchangeHelper#getBodyAndResetStreamCache(Exchange, + * Class) */ <T> T getBody(Class<T> type); @@ -268,13 +269,14 @@ public interface Message { * reset the stream to be able to re-read again (if possible). See more details about * <a href="http://camel.apache.org/stream-caching.html">stream caching</a>. * <p/> - * The helper method {@link org.apache.camel.support.ExchangeHelper#getBodyAndResetStreamCache(Exchange, Class)} - * can be used instead that gets the body, convert to the given type, and ensures to reset the body if its stream based. + * The helper method {@link org.apache.camel.support.ExchangeHelper#getBodyAndResetStreamCache(Exchange, Class)} can + * be used instead that gets the body, convert to the given type, and ensures to reset the body if its stream based. * * @param type the type that the body * @return the body of the message as the specified type, is never <tt>null</tt>. * @throws InvalidPayloadException Is thrown if the body being <tt>null</tt> or wrong class type - * @see org.apache.camel.support.ExchangeHelper#getBodyAndResetStreamCache(Exchange, Class) + * @see org.apache.camel.support.ExchangeHelper#getBodyAndResetStreamCache(Exchange, + * Class) */ <T> T getMandatoryBody(Class<T> type) throws InvalidPayloadException;