This is an automated email from the ASF dual-hosted git repository.

gzurowski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git

commit a79ccfbea56bef099a5ee5ee26c50376633023a0
Author: Gregor Zurowski <[email protected]>
AuthorDate: Mon Apr 8 09:18:17 2019 +0200

    [Minor] Use Java-style array declaration
---
 .../apache/camel/runtimecatalog/impl/UnsafeUriCharactersEncoder.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/core/camel-base/src/main/java/org/apache/camel/runtimecatalog/impl/UnsafeUriCharactersEncoder.java
 
b/core/camel-base/src/main/java/org/apache/camel/runtimecatalog/impl/UnsafeUriCharactersEncoder.java
index 7f9fbf4..16b547d 100644
--- 
a/core/camel-base/src/main/java/org/apache/camel/runtimecatalog/impl/UnsafeUriCharactersEncoder.java
+++ 
b/core/camel-base/src/main/java/org/apache/camel/runtimecatalog/impl/UnsafeUriCharactersEncoder.java
@@ -106,7 +106,7 @@ public final class UnsafeUriCharactersEncoder {
         }
 
         // First check whether we actually need to encode
-        char chars[] = s.toCharArray();
+        char[] chars = s.toCharArray();
         for (int i = 0;;) {
             // just deal with the ascii character
             if (chars[i] > 0 && chars[i] < 128) {

Reply via email to