Author: bvahdat
Date: Tue Feb 14 15:33:18 2012
New Revision: 1243997
URL: http://svn.apache.org/viewvc?rev=1243997&view=rev
Log:
Corrected typos inside the comment.
Modified:
camel/trunk/camel-core/src/main/java/org/apache/camel/impl/ZipDataFormat.java
Modified:
camel/trunk/camel-core/src/main/java/org/apache/camel/impl/ZipDataFormat.java
URL:
http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/impl/ZipDataFormat.java?rev=1243997&r1=1243996&r2=1243997&view=diff
==============================================================================
---
camel/trunk/camel-core/src/main/java/org/apache/camel/impl/ZipDataFormat.java
(original)
+++
camel/trunk/camel-core/src/main/java/org/apache/camel/impl/ZipDataFormat.java
Tue Feb 14 15:33:18 2012
@@ -41,7 +41,7 @@ public class ZipDataFormat implements Da
}
public void marshal(Exchange exchange, Object graph, OutputStream stream)
throws Exception {
- // ask for a mandatoy type converter to avoid a possible NPE
beforehand as we do copy from the InputStream
+ // ask for a mandatory type conversion to avoid a possible NPE
beforehand as we do copy from the InputStream
InputStream is =
exchange.getContext().getTypeConverter().mandatoryConvertTo(InputStream.class,
graph);
DeflaterOutputStream zipOutput = new DeflaterOutputStream(stream, new
Deflater(compressionLevel));