camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [1/4] camel git commit: Fixed typo
Date Fri, 19 Feb 2016 13:03:00 GMT
Repository: camel
Updated Branches:
  refs/heads/master fe635234b -> 38c1f6f7f


Fixed typo


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

Branch: refs/heads/master
Commit: b7f7acb099e96f630c21256cd68ca5992c3cae8b
Parents: fe63523
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Fri Feb 19 12:00:05 2016 +0100
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Fri Feb 19 12:00:05 2016 +0100

----------------------------------------------------------------------
 .../camel/component/sql/stored/template/grammar/sspt.jj   | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/b7f7acb0/components/camel-sql/src/main/java/org/apache/camel/component/sql/stored/template/grammar/sspt.jj
----------------------------------------------------------------------
diff --git a/components/camel-sql/src/main/java/org/apache/camel/component/sql/stored/template/grammar/sspt.jj
b/components/camel-sql/src/main/java/org/apache/camel/component/sql/stored/template/grammar/sspt.jj
index ab483b5..0b3a295 100644
--- a/components/camel-sql/src/main/java/org/apache/camel/component/sql/stored/template/grammar/sspt.jj
+++ b/components/camel-sql/src/main/java/org/apache/camel/component/sql/stored/template/grammar/sspt.jj
@@ -30,26 +30,26 @@ package org.apache.camel.component.sql.stored.template.generated;
 import org.apache.camel.component.sql.stored.template.ast.*;
 
 public class SSPTParser {
-   int paramaterNameCounter = 0;
+   int parameterNameCounter = 0;
 
    String createNextParameterName() {
-      return "_"+(paramaterNameCounter++);
+      return "_"+(parameterNameCounter++);
    }
 }
 
 PARSER_END(SSPTParser)
 
 public Template parse() :
-{   Token procudureName;
+{   Token procedureName;
     Template template = new Template();
     Object parameter = null;
 }
 {
-  (procudureName = <IDENTIFIER> "(" ( (parameter = Parameter() { template.addParameter(parameter);})
(","
+  (procedureName = <IDENTIFIER> "(" ( (parameter = Parameter() { template.addParameter(parameter);})
(","
   parameter
   = Parameter(){template.addParameter(parameter);})*)? ")" <EOF>)
   {
-   template.setProcedureName(procudureName.toString());
+   template.setProcedureName(procedureName.toString());
    return template;
   }
 }


Mime
View raw message