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
commit 0bd62fcf525a5d550f4b637e5d211faf7cdd30f4 Author: Otavio Rodolfo Piske <angusyo...@gmail.com> AuthorDate: Fri Jun 23 13:48:43 2023 +0200 (chores) camel-coap: move array designators to the type --- .../src/main/java/org/apache/camel/coap/CamelCoapResource.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/camel-coap/src/main/java/org/apache/camel/coap/CamelCoapResource.java b/components/camel-coap/src/main/java/org/apache/camel/coap/CamelCoapResource.java index d9ce57885b5..dc4e0cfa995 100644 --- a/components/camel-coap/src/main/java/org/apache/camel/coap/CamelCoapResource.java +++ b/components/camel-coap/src/main/java/org/apache/camel/coap/CamelCoapResource.java @@ -134,7 +134,7 @@ final class CamelCoapResource extends CoapResource { res++; } - byte bytes[] = exchange.getCurrentRequest().getPayload(); + byte[] bytes = exchange.getCurrentRequest().getPayload(); camelExchange.getIn().setBody(bytes); consumer.getProcessor().process(camelExchange);