You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by js...@apache.org on 2007/11/26 13:17:54 UTC

svn commit: r598244 - /activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/model/ProcessorType.java

Author: jstrachan
Date: Mon Nov 26 04:17:54 2007
New Revision: 598244

URL: http://svn.apache.org/viewvc?rev=598244&view=rev
Log:
fixed typeo caught by Claus - see https://issues.apache.org/activemq/browse/CAMEL-244

Modified:
    activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/model/ProcessorType.java

Modified: activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/model/ProcessorType.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/model/ProcessorType.java?rev=598244&r1=598243&r2=598244&view=diff
==============================================================================
--- activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/model/ProcessorType.java (original)
+++ activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/model/ProcessorType.java Mon Nov 26 04:17:54 2007
@@ -34,7 +34,7 @@
 import org.apache.camel.Route;
 import org.apache.camel.RuntimeCamelException;
 import org.apache.camel.builder.Builder;
-import org.apache.camel.builder.DataTypeClause;
+import org.apache.camel.builder.DataFormatClause;
 import org.apache.camel.builder.DeadLetterChannelBuilder;
 import org.apache.camel.builder.ErrorHandlerBuilder;
 import org.apache.camel.builder.ExpressionClause;
@@ -1001,8 +1001,8 @@
      *
      * @return the expression to create the {@link DataFormat}
      */
-    public DataTypeClause<ProcessorType<Type>> unmarshal() {
-        return new DataTypeClause<ProcessorType<Type>>(this, DataTypeClause.Operation.Unmarshal);
+    public DataFormatClause<ProcessorType<Type>> unmarshal() {
+        return new DataFormatClause<ProcessorType<Type>>(this, DataFormatClause.Operation.Unmarshal);
     }
 
     /**
@@ -1043,8 +1043,8 @@
      *
      * @return the expression to create the {@link DataFormat}
      */
-    public DataTypeClause<ProcessorType<Type>> marshal() {
-        return new DataTypeClause<ProcessorType<Type>>(this, DataTypeClause.Operation.Marshal);
+    public DataFormatClause<ProcessorType<Type>> marshal() {
+        return new DataFormatClause<ProcessorType<Type>>(this, DataFormatClause.Operation.Marshal);
     }
 
     /**