camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acosent...@apache.org
Subject [2/2] camel git commit: Fixed CS
Date Mon, 18 Jul 2016 11:06:10 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/19b80eed
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/19b80eed
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/19b80eed

Branch: refs/heads/master
Commit: 19b80eededeafdfed157c469867f303d38529169
Parents: b0321bc
Author: Andrea Cosentino <ancosen@gmail.com>
Authored: Mon Jul 18 13:02:29 2016 +0200
Committer: Andrea Cosentino <ancosen@gmail.com>
Committed: Mon Jul 18 13:02:29 2016 +0200

----------------------------------------------------------------------
 .../org/apache/camel/tools/apt/EndpointAnnotationProcessor.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/19b80eed/tooling/apt/src/main/java/org/apache/camel/tools/apt/EndpointAnnotationProcessor.java
----------------------------------------------------------------------
diff --git a/tooling/apt/src/main/java/org/apache/camel/tools/apt/EndpointAnnotationProcessor.java
b/tooling/apt/src/main/java/org/apache/camel/tools/apt/EndpointAnnotationProcessor.java
index 2d3c74e..ad81072 100644
--- a/tooling/apt/src/main/java/org/apache/camel/tools/apt/EndpointAnnotationProcessor.java
+++ b/tooling/apt/src/main/java/org/apache/camel/tools/apt/EndpointAnnotationProcessor.java
@@ -824,14 +824,14 @@ public class EndpointAnnotationProcessor extends AbstractAnnotationProcessor
{
         Map<String, String> answer = new HashMap<String, String>();
         String[] lines = data.split("\n");
         for (String line : lines) {
-        	if (!line.isEmpty()) {
+            if (!line.isEmpty()) {
                 int idx = line.indexOf('=');
                 String key = line.substring(0, idx);
                 String value = line.substring(idx + 1);
                 // remove ending line break for the values
                 value = value.trim().replaceAll("\n", "");
                 answer.put(key.trim(), value);
-        	}
+            }
         }
         return answer;
     }


Mime
View raw message