You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by on...@apache.org on 2017/07/20 07:11:41 UTC

camel git commit: CAMEL-11545-check dot ending description

Repository: camel
Updated Branches:
  refs/heads/master d154650b2 -> abf7cd30c


CAMEL-11545-check dot ending description


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

Branch: refs/heads/master
Commit: abf7cd30c3b8db60553058b87ecb15c55bd85ccb
Parents: d154650
Author: onders86 <on...@gmail.com>
Authored: Mon Jul 17 11:17:57 2017 +0300
Committer: onders86 <on...@gmail.com>
Committed: Thu Jul 20 10:11:10 2017 +0300

----------------------------------------------------------------------
 .../main/java/org/apache/camel/maven/DocumentationEnricher.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/abf7cd30/tooling/maven/camel-eip-documentation-enricher-maven-plugin/src/main/java/org/apache/camel/maven/DocumentationEnricher.java
----------------------------------------------------------------------
diff --git a/tooling/maven/camel-eip-documentation-enricher-maven-plugin/src/main/java/org/apache/camel/maven/DocumentationEnricher.java b/tooling/maven/camel-eip-documentation-enricher-maven-plugin/src/main/java/org/apache/camel/maven/DocumentationEnricher.java
index 02dcc34..2a3d1d3 100644
--- a/tooling/maven/camel-eip-documentation-enricher-maven-plugin/src/main/java/org/apache/camel/maven/DocumentationEnricher.java
+++ b/tooling/maven/camel-eip-documentation-enricher-maven-plugin/src/main/java/org/apache/camel/maven/DocumentationEnricher.java
@@ -106,7 +106,7 @@ public class DocumentationEnricher {
         if (!isNullOrEmpty(descriptionText)) {
             String text = descriptionText;
             if (!isNullOrEmpty(defaultValueText)) {
-                text += ". Default value: " + defaultValueText;
+                text += (!text.endsWith(".") ? "." : "") + (" Default value: " + defaultValueText);
             }
             addDocumentation(item, text);
         } else {