You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by lb...@apache.org on 2017/01/16 17:30:50 UTC
[52/52] camel git commit: Fix CS
Fix CS
Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/df077dc6
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/df077dc6
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/df077dc6
Branch: refs/heads/master
Commit: df077dc6b5ca64e88d414af2f60f27965709226a
Parents: 3b20e36
Author: lburgazzoli <lb...@gmail.com>
Authored: Mon Jan 16 18:28:55 2017 +0100
Committer: lburgazzoli <lb...@gmail.com>
Committed: Mon Jan 16 18:29:16 2017 +0100
----------------------------------------------------------------------
.../java/org/apache/camel/maven/packaging/ReadmeComponentMojo.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/camel/blob/df077dc6/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/ReadmeComponentMojo.java
----------------------------------------------------------------------
diff --git a/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/ReadmeComponentMojo.java b/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/ReadmeComponentMojo.java
index 3725acf..fff5e3f 100644
--- a/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/ReadmeComponentMojo.java
+++ b/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/ReadmeComponentMojo.java
@@ -308,7 +308,7 @@ public class ReadmeComponentMojo extends AbstractMojo {
}
// use single line headers with # as level instead of the cumbersome adoc weird style
- if (line.startsWith("^^^") || line.startsWith("~~~") || line.startsWith("+++") ) {
+ if (line.startsWith("^^^") || line.startsWith("~~~") || line.startsWith("+++")) {
String level = line.startsWith("+++") ? "####" : "###";
// transform legacy heading into new style