camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From w...@apache.org
Subject svn commit: r722110 - /activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/converter/IOConverter.java
Date Mon, 01 Dec 2008 16:08:45 GMT
Author: wtam
Date: Mon Dec  1 08:08:45 2008
New Revision: 722110

URL: http://svn.apache.org/viewvc?rev=722110&view=rev
Log:
Fix build error introduced by CAMEL-1134

Modified:
    activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/converter/IOConverter.java

Modified: activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/converter/IOConverter.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/converter/IOConverter.java?rev=722110&r1=722109&r2=722110&view=diff
==============================================================================
--- activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/converter/IOConverter.java
(original)
+++ activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/converter/IOConverter.java
Mon Dec  1 08:08:45 2008
@@ -120,6 +120,11 @@
     }
 
     @Converter
+    public static InputStream toInputStream(String text) {
+        return toInputStream(text, null);
+    }
+    
+    @Converter
     public static InputStream toInputStream(String text, Exchange exchange) {
         if (exchange != null) {
             String charsetName = exchange.getProperty(Exchange.CHARSET_NAME, String.class);



Mime
View raw message