camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r905637 - /camel/trunk/camel-core/src/main/java/org/apache/camel/component/file/GenericFileOnCompletion.java
Date Tue, 02 Feb 2010 14:04:13 GMT
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()) {



Mime
View raw message