This is an automated email from the ASF dual-hosted git repository. davsclaus 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 e1212b9e749 Regen e1212b9e749 is described below commit e1212b9e749497802f650e9f343812bd519e8f6e Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Wed Nov 29 07:15:09 2023 +0100 Regen --- .../src/main/java/org/apache/camel/support/http/HttpUtil.java | 10 ++++++---- .../src/main/java/org/apache/camel/util/CollectionHelper.java | 9 +++++---- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/core/camel-support/src/main/java/org/apache/camel/support/http/HttpUtil.java b/core/camel-support/src/main/java/org/apache/camel/support/http/HttpUtil.java index f055473cd09..6ba015fe164 100644 --- a/core/camel-support/src/main/java/org/apache/camel/support/http/HttpUtil.java +++ b/core/camel-support/src/main/java/org/apache/camel/support/http/HttpUtil.java @@ -58,9 +58,10 @@ public final class HttpUtil { /** * Deprecated way to extract the charset value from the content type string - * @deprecated use {@link IOHelper#getCharsetNameFromContentType(String)} - * @param contentType the content type string - * @return the charset value or null if there is nothing to extract + * + * @deprecated use {@link IOHelper#getCharsetNameFromContentType(String)} + * @param contentType the content type string + * @return the charset value or null if there is nothing to extract */ @Deprecated public static String getCharsetFromContentType(String contentType) { @@ -81,8 +82,9 @@ public final class HttpUtil { /** * Extracts the charset value from the content type string and sets it on the given exchange + * * @param contentType the content type string - * @param exchange the exchange to set the charset value + * @param exchange the exchange to set the charset value */ public static void setCharsetFromContentType(String contentType, Exchange exchange) { String charset = HttpUtil.getCharsetFromContentType(contentType); diff --git a/core/camel-util/src/main/java/org/apache/camel/util/CollectionHelper.java b/core/camel-util/src/main/java/org/apache/camel/util/CollectionHelper.java index be2eefd5702..bfc1fa50379 100644 --- a/core/camel-util/src/main/java/org/apache/camel/util/CollectionHelper.java +++ b/core/camel-util/src/main/java/org/apache/camel/util/CollectionHelper.java @@ -246,11 +246,12 @@ public final class CollectionHelper { } /** - * When trying to set the value for a map, if the value already exists, appends it to a list. Otherwise, sets the entry to - * the given value. + * When trying to set the value for a map, if the value already exists, appends it to a list. Otherwise, sets the + * entry to the given value. + * * @param headers the map that whose entry will be set or appended - * @param key the key on the map - * @param value the value to set or append within the map + * @param key the key on the map + * @param value the value to set or append within the map */ public static <T> void appendEntry(Map<String, ? super Object> headers, String key, T value) { if (headers.containsKey(key)) {