camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cmuel...@apache.org
Subject svn commit: r1437207 - /camel/branches/camel-2.10.x/components/camel-castor/src/main/java/org/apache/camel/dataformat/castor/AbstractCastorDataFormat.java
Date Tue, 22 Jan 2013 21:57:08 GMT
Author: cmueller
Date: Tue Jan 22 21:57:08 2013
New Revision: 1437207

URL: http://svn.apache.org/viewvc?rev=1437207&view=rev
Log:
fixed typo

Modified:
    camel/branches/camel-2.10.x/components/camel-castor/src/main/java/org/apache/camel/dataformat/castor/AbstractCastorDataFormat.java

Modified: camel/branches/camel-2.10.x/components/camel-castor/src/main/java/org/apache/camel/dataformat/castor/AbstractCastorDataFormat.java
URL: http://svn.apache.org/viewvc/camel/branches/camel-2.10.x/components/camel-castor/src/main/java/org/apache/camel/dataformat/castor/AbstractCastorDataFormat.java?rev=1437207&r1=1437206&r2=1437207&view=diff
==============================================================================
--- camel/branches/camel-2.10.x/components/camel-castor/src/main/java/org/apache/camel/dataformat/castor/AbstractCastorDataFormat.java
(original)
+++ camel/branches/camel-2.10.x/components/camel-castor/src/main/java/org/apache/camel/dataformat/castor/AbstractCastorDataFormat.java
Tue Jan 22 21:57:08 2013
@@ -74,14 +74,14 @@ public abstract class AbstractCastorData
         return getUnmarshaller(exchange).unmarshal(reader);
     }
 
-    public XMLContext getXmlContext(ClassResolver resolver, ClassLoader contetClassLoader)
throws Exception {
+    public XMLContext getXmlContext(ClassResolver resolver, ClassLoader contextClassLoader)
throws Exception {
         if (xmlContext == null) {
             xmlContext = new XMLContext();
 
             if (ObjectHelper.isNotEmpty(getMappingFile())) {
                 Mapping xmlMap;
-                if (contetClassLoader != null) {
-                    xmlMap = new Mapping(contetClassLoader);
+                if (contextClassLoader != null) {
+                    xmlMap = new Mapping(contextClassLoader);
                 } else {
                     xmlMap = new Mapping();
                 }



Mime
View raw message