You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2015/11/11 10:57:27 UTC

[2/4] camel git commit: Fixed CS

Fixed CS


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

Branch: refs/heads/master
Commit: ad33d9e4fdce6a9cd97be288daef0925ea158f7d
Parents: a9e8316
Author: Claus Ibsen <da...@apache.org>
Authored: Wed Nov 11 11:00:31 2015 +0100
Committer: Claus Ibsen <da...@apache.org>
Committed: Wed Nov 11 11:00:31 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/ad33d9e4/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])) {