servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r663353 - /servicemix/smx4/nmr/trunk/nmr/core/src/main/java/org/apache/servicemix/nmr/core/CamelConverter.java
Date Wed, 04 Jun 2008 19:36:02 GMT
Author: chirino
Date: Wed Jun  4 12:36:01 2008
New Revision: 663353

URL: http://svn.apache.org/viewvc?rev=663353&view=rev
Log:
Fix camel compile error.  Packages were moved around.


Modified:
    servicemix/smx4/nmr/trunk/nmr/core/src/main/java/org/apache/servicemix/nmr/core/CamelConverter.java

Modified: servicemix/smx4/nmr/trunk/nmr/core/src/main/java/org/apache/servicemix/nmr/core/CamelConverter.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/nmr/trunk/nmr/core/src/main/java/org/apache/servicemix/nmr/core/CamelConverter.java?rev=663353&r1=663352&r2=663353&view=diff
==============================================================================
--- servicemix/smx4/nmr/trunk/nmr/core/src/main/java/org/apache/servicemix/nmr/core/CamelConverter.java
(original)
+++ servicemix/smx4/nmr/trunk/nmr/core/src/main/java/org/apache/servicemix/nmr/core/CamelConverter.java
Wed Jun  4 12:36:01 2008
@@ -16,14 +16,15 @@
  */
 package org.apache.servicemix.nmr.core;
 
+import org.apache.camel.impl.converter.DefaultTypeConverter;
+import org.apache.camel.util.ReflectionInjector;
+
 /**
  * A converter using Camel underneath
  */
 class CamelConverter implements Converter {
 
-    final org.apache.camel.impl.converter.DefaultTypeConverter tc =
-            new org.apache.camel.impl.converter.DefaultTypeConverter(
-                    new org.apache.camel.impl.ReflectionInjector());
+    final DefaultTypeConverter tc = new DefaultTypeConverter(new ReflectionInjector());
 
     public <T> T convert(Object body, Class<T> type) {
         return tc.convertTo(type, body);



Mime
View raw message