You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by dh...@apache.org on 2014/06/23 19:34:51 UTC

git commit: Fixed argument name indexing error in JavadocApiMethodGeneratorMojo

Repository: camel
Updated Branches:
  refs/heads/master b28962cf1 -> 3ed03b873


Fixed argument name indexing error in JavadocApiMethodGeneratorMojo


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

Branch: refs/heads/master
Commit: 3ed03b873f069599bcf4e805d32b59b450de5da5
Parents: b28962c
Author: Dhiraj Bokde <dh...@yahoo.com>
Authored: Mon Jun 23 10:34:33 2014 -0700
Committer: Dhiraj Bokde <dh...@yahoo.com>
Committed: Mon Jun 23 10:34:33 2014 -0700

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


http://git-wip-us.apache.org/repos/asf/camel/blob/3ed03b87/tooling/maven/camel-api-component-maven-plugin/src/main/java/org/apache/camel/maven/JavadocApiMethodGeneratorMojo.java
----------------------------------------------------------------------
diff --git a/tooling/maven/camel-api-component-maven-plugin/src/main/java/org/apache/camel/maven/JavadocApiMethodGeneratorMojo.java b/tooling/maven/camel-api-component-maven-plugin/src/main/java/org/apache/camel/maven/JavadocApiMethodGeneratorMojo.java
index c03fdd9..7cf74d6 100644
--- a/tooling/maven/camel-api-component-maven-plugin/src/main/java/org/apache/camel/maven/JavadocApiMethodGeneratorMojo.java
+++ b/tooling/maven/camel-api-component-maven-plugin/src/main/java/org/apache/camel/maven/JavadocApiMethodGeneratorMojo.java
@@ -294,7 +294,7 @@ public class JavadocApiMethodGeneratorMojo extends AbstractApiMethodGeneratorMoj
             int i = 0;
             for (String type : typeList) {
                 // split on space or non-breaking space
-                builder.append(type).append(" ").append(names[i]).append(",");
+                builder.append(type).append(" ").append(names[i++]).append(",");
             }
             builder.deleteCharAt(builder.length() - 1);
             builder.append(")");