camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject svn commit: r1443833 - in /camel/trunk/components/camel-bindy/src/test/java/org/apache/camel/dataformat/bindy/csv: BindyCVSFieldEndingWithSeparatorIssueTest.java MyCsvRecord.java Record.java
Date Fri, 08 Feb 2013 03:15:38 GMT
Author: ningjiang
Date: Fri Feb  8 03:15:38 2013
New Revision: 1443833

URL: http://svn.apache.org/r1443833
Log:
CAMEL-6041 Try to fix the build on CI

Added:
    camel/trunk/components/camel-bindy/src/test/java/org/apache/camel/dataformat/bindy/csv/MyCsvRecord.java
      - copied, changed from r1443751, camel/trunk/components/camel-bindy/src/test/java/org/apache/camel/dataformat/bindy/csv/Record.java
Removed:
    camel/trunk/components/camel-bindy/src/test/java/org/apache/camel/dataformat/bindy/csv/Record.java
Modified:
    camel/trunk/components/camel-bindy/src/test/java/org/apache/camel/dataformat/bindy/csv/BindyCVSFieldEndingWithSeparatorIssueTest.java

Modified: camel/trunk/components/camel-bindy/src/test/java/org/apache/camel/dataformat/bindy/csv/BindyCVSFieldEndingWithSeparatorIssueTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-bindy/src/test/java/org/apache/camel/dataformat/bindy/csv/BindyCVSFieldEndingWithSeparatorIssueTest.java?rev=1443833&r1=1443832&r2=1443833&view=diff
==============================================================================
--- camel/trunk/components/camel-bindy/src/test/java/org/apache/camel/dataformat/bindy/csv/BindyCVSFieldEndingWithSeparatorIssueTest.java
(original)
+++ camel/trunk/components/camel-bindy/src/test/java/org/apache/camel/dataformat/bindy/csv/BindyCVSFieldEndingWithSeparatorIssueTest.java
Fri Feb  8 03:15:38 2013
@@ -64,7 +64,7 @@ public class BindyCVSFieldEndingWithSepa
     @Test
     public void testBindyMoreSeparators() throws Exception {
         CamelContext ctx = new DefaultCamelContext();
-        ctx.addRoutes(createRoute()); // new ReconciliationRoute()
+        ctx.addRoutes(createRoute()); 
         ctx.start();
 
         String addressLine1 = "8506 SIX FORKS ROAD, , ,,, ,";
@@ -108,7 +108,7 @@ public class BindyCVSFieldEndingWithSepa
         return new RouteBuilder() {
             @Override
             public void configure() throws Exception {
-                from("direct:fromCsv").unmarshal().bindy(BindyType.Csv, Record.class)
+                from("direct:fromCsv").unmarshal().bindy(BindyType.Csv, MyCsvRecord.class)
                     .setProperty("addressLine1", simple("${in.body.addressLine1}"))
                     .setProperty("addressLine2", simple("${in.body.addressLine2}")).log("${in.body}")
                     .to("mock:result");

Copied: camel/trunk/components/camel-bindy/src/test/java/org/apache/camel/dataformat/bindy/csv/MyCsvRecord.java
(from r1443751, camel/trunk/components/camel-bindy/src/test/java/org/apache/camel/dataformat/bindy/csv/Record.java)
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-bindy/src/test/java/org/apache/camel/dataformat/bindy/csv/MyCsvRecord.java?p2=camel/trunk/components/camel-bindy/src/test/java/org/apache/camel/dataformat/bindy/csv/MyCsvRecord.java&p1=camel/trunk/components/camel-bindy/src/test/java/org/apache/camel/dataformat/bindy/csv/Record.java&r1=1443751&r2=1443833&rev=1443833&view=diff
==============================================================================
--- camel/trunk/components/camel-bindy/src/test/java/org/apache/camel/dataformat/bindy/csv/Record.java
(original)
+++ camel/trunk/components/camel-bindy/src/test/java/org/apache/camel/dataformat/bindy/csv/MyCsvRecord.java
Fri Feb  8 03:15:38 2013
@@ -23,7 +23,7 @@ import org.apache.camel.dataformat.bindy
 
 @SuppressWarnings("serial")
 @CsvRecord(separator = "," , skipFirstLine = false)
-public class Record implements Serializable {
+public class MyCsvRecord implements Serializable {
 
     @DataField(pos = 1)
     private String attention;
@@ -44,7 +44,7 @@ public class Record implements Serializa
     @DataField(pos = 9)
     private String dummy2;
 
-    public Record() {
+    public MyCsvRecord() {
         super();
     }
 



Mime
View raw message