camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [2/2] camel git commit: Fixed CS
Date Wed, 24 May 2017 12:35:19 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/6fcf1661
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/6fcf1661
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/6fcf1661

Branch: refs/heads/camel-2.19.x
Commit: 6fcf166164b87708a5a89b9b94d41057e8d95d7e
Parents: 9db1c9e
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Wed May 24 14:34:25 2017 +0200
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Wed May 24 14:35:00 2017 +0200

----------------------------------------------------------------------
 .../org/apache/camel/component/sql/stored/ParserTest.java    | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/6fcf1661/components/camel-sql/src/test/java/org/apache/camel/component/sql/stored/ParserTest.java
----------------------------------------------------------------------
diff --git a/components/camel-sql/src/test/java/org/apache/camel/component/sql/stored/ParserTest.java
b/components/camel-sql/src/test/java/org/apache/camel/component/sql/stored/ParserTest.java
index ae807b2..bfbe4af 100644
--- a/components/camel-sql/src/test/java/org/apache/camel/component/sql/stored/ParserTest.java
+++ b/components/camel-sql/src/test/java/org/apache/camel/component/sql/stored/ParserTest.java
@@ -74,7 +74,6 @@ public class ParserTest extends CamelTestSupport {
     public void noOutputParameterShouldFail() {
         parser.parseTemplate("ADDNUMBERS2"
                 + "(INTEGER VALUE1 ${header.v1},INTEGER VALUE2 ${header.v2})");
-
     }
 
     @Test(expected = ParseRuntimeException.class)
@@ -107,12 +106,12 @@ public class ParserTest extends CamelTestSupport {
 
     @Test
     public void colonInSimple() {
-
         PropertiesComponent pc = (PropertiesComponent) context.getComponent("properties");
         pc.setLocation("classpath:jndi.properties");
         Exchange exchange = createExchangeWithBody(1);
         Template template = parser.parseTemplate("ADDNUMBERS2(-1342 ${properties:java.naming.factory.initial})");
-        assertEquals("org.apache.camel.util.jndi.CamelInitialContextFactory",((InputParameter)template.getParameterList().get(0)).getValueExtractor().eval(exchange,
null));
+        assertEquals("org.apache.camel.util.jndi.CamelInitialContextFactory",
+            ((InputParameter) template.getParameterList().get(0)).getValueExtractor().eval(exchange,
null));
     }
 
     @Test
@@ -121,7 +120,7 @@ public class ParserTest extends CamelTestSupport {
         Exchange exchange = createExchangeWithBody(1);
 
         Map container = new HashMap();
-        container.put("a:",1);
+        container.put("a:", 1);
         assertEquals(1, ((InputParameter) template.getParameterList().get(0)).getValueExtractor().eval(exchange,
container));
     }
 
@@ -137,7 +136,6 @@ public class ParserTest extends CamelTestSupport {
         assertEquals(-1342, ((OutParameter) template.getParameterList().get(0)).getSqlType());
     }
 
-
     @Test
     public void nableIssueSyntax() {
         Map<String, String> params = new HashMap<>();


Mime
View raw message