Author: bvahdat
Date: Wed Jan 2 15:02:27 2013
New Revision: 1427816
URL: http://svn.apache.org/viewvc?rev=1427816&view=rev
Log:
Merged revisions 1427815 via svnmerge from
https://svn.apache.org/repos/asf/camel/trunk
........
r1427815 | bvahdat | 2013-01-02 16:01:18 +0100 (Mi, 02 Jan 2013) | 1 line
Overrided the toString() method by RemoteFile to avoid mix-up/confusion with
the GenericFile type while people look at their application logs or debug them.
........
Modified:
camel/branches/camel-2.10.x/ (props changed)
camel/branches/camel-2.10.x/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/RemoteFile.java
Propchange: camel/branches/camel-2.10.x/
------------------------------------------------------------------------------
Merged /camel/trunk:r1427815
Propchange: camel/branches/camel-2.10.x/
------------------------------------------------------------------------------
Binary property 'svnmerge-integrated' - no diff available.
Modified:
camel/branches/camel-2.10.x/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/RemoteFile.java
URL:
http://svn.apache.org/viewvc/camel/branches/camel-2.10.x/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/RemoteFile.java?rev=1427816&r1=1427815&r2=1427816&view=diff
==============================================================================
---
camel/branches/camel-2.10.x/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/RemoteFile.java
(original)
+++
camel/branches/camel-2.10.x/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/RemoteFile.java
Wed Jan 2 15:02:27 2013
@@ -72,4 +72,9 @@ public class RemoteFile<T> extends Gener
remoteResult.setHostname(remoteSource.getHostname());
}
+ @Override
+ public String toString() {
+ return "RemoteFile[" + (isAbsolute() ? getAbsoluteFilePath() :
getRelativeFilePath()) + "]";
+ }
+
}