You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ni...@apache.org on 2009/03/11 12:29:18 UTC

svn commit: r752424 - /camel/trunk/camel-core/src/main/java/org/apache/camel/component/file/GenericFile.java

Author: ningjiang
Date: Wed Mar 11 11:29:17 2009
New Revision: 752424

URL: http://svn.apache.org/viewvc?rev=752424&view=rev
Log:
Removed the System out from the GenericFile

Modified:
    camel/trunk/camel-core/src/main/java/org/apache/camel/component/file/GenericFile.java

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/component/file/GenericFile.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/component/file/GenericFile.java?rev=752424&r1=752423&r2=752424&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/component/file/GenericFile.java (original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/component/file/GenericFile.java Wed Mar 11 11:29:17 2009
@@ -99,9 +99,7 @@
         String newFileName = FileUtil.normalizePath(newName);
         File file = new File(newFileName);            
         if (!absolute) {
-            // for relative then we should avoid having the endpoint path duplicated so clip it
-            System.out.println("endpointPath " + endpointPath);
-            System.out.println("newName " + newFileName);
+            // for relative then we should avoid having the endpoint path duplicated so clip it            
             if (ObjectHelper.isNotEmpty(endpointPath) && newFileName.startsWith(endpointPath)) {
                 // clip starting endpoint in case it was added
                 newFileName = ObjectHelper.after(newFileName, endpointPath + getFileSeparator());