camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bvah...@apache.org
Subject svn commit: r1464887 - /camel/trunk/components/camel-bindy/src/main/java/org/apache/camel/dataformat/bindy/BindyCsvFactory.java
Date Fri, 05 Apr 2013 08:32:12 GMT
Author: bvahdat
Date: Fri Apr  5 08:32:12 2013
New Revision: 1464887

URL: http://svn.apache.org/r1464887
Log:
Fixed the CS.

Modified:
    camel/trunk/components/camel-bindy/src/main/java/org/apache/camel/dataformat/bindy/BindyCsvFactory.java

Modified: camel/trunk/components/camel-bindy/src/main/java/org/apache/camel/dataformat/bindy/BindyCsvFactory.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-bindy/src/main/java/org/apache/camel/dataformat/bindy/BindyCsvFactory.java?rev=1464887&r1=1464886&r2=1464887&view=diff
==============================================================================
--- camel/trunk/components/camel-bindy/src/main/java/org/apache/camel/dataformat/bindy/BindyCsvFactory.java
(original)
+++ camel/trunk/components/camel-bindy/src/main/java/org/apache/camel/dataformat/bindy/BindyCsvFactory.java
Fri Apr  5 08:32:12 2013
@@ -102,7 +102,7 @@ public class BindyCsvFactory extends Bin
 
     public void initAnnotatedFields() {
 
-    	int maxpos = 0;
+        int maxpos = 0;
         for (Class<?> cl : models) {
             List<Field> linkFields = new ArrayList<Field>();
 
@@ -126,8 +126,8 @@ public class BindyCsvFactory extends Bin
 
                     int pos = dataField.pos();
                     if (annotatedFields.containsKey(pos)) {
-                    	Field f = annotatedFields.get(pos);
-                    	LOG.warn("Potentially invalid model: existing @DataField '{}' replaced
by '{}'", f.getName(), field.getName());
+                        Field f = annotatedFields.get(pos);
+                        LOG.warn("Potentially invalid model: existing @DataField '{}' replaced
by '{}'", f.getName(), field.getName());
                     }
                     dataFields.put(pos, dataField);
                     annotatedFields.put(pos, field);
@@ -158,7 +158,7 @@ public class BindyCsvFactory extends Bin
         }
 
         if (annotatedFields.size() < maxpos) {
-        	LOG.info("Potentially incomplete model: some csv fields may not be mapped to @DataField
members");
+            LOG.info("Potentially incomplete model: some csv fields may not be mapped to
@DataField members");
         }
     }
 



Mime
View raw message