You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by or...@apache.org on 2023/06/23 15:45:14 UTC

[camel] 05/14: (chores) camel-jaxb: move array designators to the type

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 bde68e270c722b3902e97de6df08311af520b7f0
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Fri Jun 23 13:50:45 2023 +0200

    (chores) camel-jaxb: move array designators to the type
---
 .../main/java/org/apache/camel/converter/jaxb/NonXmlFilterReader.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/camel-jaxb/src/main/java/org/apache/camel/converter/jaxb/NonXmlFilterReader.java b/components/camel-jaxb/src/main/java/org/apache/camel/converter/jaxb/NonXmlFilterReader.java
index 648a111e157..80e0d4be72f 100644
--- a/components/camel-jaxb/src/main/java/org/apache/camel/converter/jaxb/NonXmlFilterReader.java
+++ b/components/camel-jaxb/src/main/java/org/apache/camel/converter/jaxb/NonXmlFilterReader.java
@@ -36,7 +36,7 @@ public class NonXmlFilterReader extends FilterReader {
      * @exception IOException If an I/O error occurs
      */
     @Override
-    public int read(char cbuf[], int off, int len) throws IOException {
+    public int read(char[] cbuf, int off, int len) throws IOException {
         int read = in.read(cbuf, off, len);
         if (read > 0) {
             nonXmlCharFilterer.filter(cbuf, off, read);