camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [4/4] camel git commit: Fixed CS
Date Wed, 11 Nov 2015 09:57:29 GMT
Fixed CS


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/08f53141
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/08f53141
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/08f53141

Branch: refs/heads/camel-2.16.x
Commit: 08f53141320897f5a1185d0169d1941dbd60cecd
Parents: e639563
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Wed Nov 11 11:00:31 2015 +0100
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Wed Nov 11 11:00:51 2015 +0100

----------------------------------------------------------------------
 .../apache/camel/catalog/UnsafeUriCharactersEncoder.java  | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/08f53141/platforms/catalog/src/main/java/org/apache/camel/catalog/UnsafeUriCharactersEncoder.java
----------------------------------------------------------------------
diff --git a/platforms/catalog/src/main/java/org/apache/camel/catalog/UnsafeUriCharactersEncoder.java
b/platforms/catalog/src/main/java/org/apache/camel/catalog/UnsafeUriCharactersEncoder.java
index 1d137d2..2a58f3f 100644
--- a/platforms/catalog/src/main/java/org/apache/camel/catalog/UnsafeUriCharactersEncoder.java
+++ b/platforms/catalog/src/main/java/org/apache/camel/catalog/UnsafeUriCharactersEncoder.java
@@ -5,9 +5,9 @@
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
- * <p/>
- * http://www.apache.org/licenses/LICENSE-2.0
- * <p/>
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -31,7 +31,7 @@ public final class UnsafeUriCharactersEncoder {
     private static BitSet unsafeCharactersRfc1738;
     private static BitSet unsafeCharactersHttp;
     private static final char[] HEX_DIGITS = {'0', '1', '2', '3', '4', '5', '6', '7', '8',
'9', 'A', 'B', 'C',
-            'D', 'E', 'F', 'a', 'b', 'c', 'd', 'e', 'f'};
+        'D', 'E', 'F', 'a', 'b', 'c', 'd', 'e', 'f'};
 
     static {
         unsafeCharactersRfc1738 = new BitSet(256);
@@ -147,7 +147,7 @@ public final class UnsafeUriCharactersEncoder {
 
         // First check whether we actually need to encode
         char chars[] = s.toCharArray();
-        for (int i = 0; ; ) {
+        for (int i = 0;;) {
             // just deal with the ascii character
             if (chars[i] > 0 && chars[i] < 128) {
                 if (unsafeCharacters.get(chars[i])) {


Mime
View raw message