+1 for the change.
It makes sense.

Willem

On Feb 14, 2012, at 8:43 PM, Babak Vahdat wrote:

> Willem
> 
> Shouldn't ZipDataFormat.marshal() method [1] better make use of
> TypeConverter's mandatoryConvertTo() method instead of convertTo() to
> avoid such NPE as an ugly side effect when the conversion fails.
> 
> This "manadatory conversion behaviour" is already available by it's
> unmarshal() method.
> 
> WDYT?
> 
> [1]
> https://svn.apache.org/repos/asf/camel/trunk/camel-core/src/main/java/org/apache/camel/impl/ZipDataFormat.java
> 
> Babak
> 
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Zipping-the-content-of-several-files-into-one-file-tp5481638p5482318.html
> Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to