Author: davsclaus
Date: Tue Feb 2 14:04:10 2010
New Revision: 905637
URL: http://svn.apache.org/viewvc?rev=905637&view=rev
Log:
Fixed spelling
Modified:
camel/trunk/camel-core/src/main/java/org/apache/camel/component/file/GenericFileOnCompletion.java
Modified:
camel/trunk/camel-core/src/main/java/org/apache/camel/component/file/GenericFileOnCompletion.java
URL:
http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/component/file/GenericFileOnCompletion.java?rev=905637&r1=905636&r2=905637&view=diff
==============================================================================
---
camel/trunk/camel-core/src/main/java/org/apache/camel/component/file/GenericFileOnCompletion.java
(original)
+++
camel/trunk/camel-core/src/main/java/org/apache/camel/component/file/GenericFileOnCompletion.java
Tue Feb 2 14:04:10 2010
@@ -24,7 +24,7 @@
import org.apache.commons.logging.LogFactory;
/**
- * On completion strategy that performs the nessasary work after the {...@link
Exchange} has been processed.
+ * On completion strategy that performs the required work after the {...@link
Exchange} has been processed.
* <p/>
* The work is for example to move the processed file into a backup folder,
delete the file or
* in case of processing failure do a rollback.
@@ -48,12 +48,10 @@
this.originalFileName = originalFileName;
}
- @SuppressWarnings("unchecked")
public void onComplete(Exchange exchange) {
onCompletion(exchange);
}
- @SuppressWarnings("unchecked")
public void onFailure(Exchange exchange) {
onCompletion(exchange);
}
@@ -109,7 +107,6 @@
* @param exchange the exchange
* @param file the file processed
*/
- @SuppressWarnings("unchecked")
protected void processStrategyCommit(GenericFileProcessStrategy<T>
processStrategy,
Exchange exchange, GenericFile<T>
file) {
if (endpoint.isIdempotent()) {