camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject svn commit: r752424 - /camel/trunk/camel-core/src/main/java/org/apache/camel/component/file/GenericFile.java
Date Wed, 11 Mar 2009 11:29:18 GMT
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());



Mime
View raw message