[jboss-svn-commits] JBL Code SVN: r8749 - labs/jbossesb/trunk/product/core/rosetta/src/org/jboss/internal/soa/esb/couriers/helpers

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Sun Jan 7 12:04:33 EST 2007


Author: estebanschifman
Date: 2007-01-07 12:04:30 -0500 (Sun, 07 Jan 2007)
New Revision: 8749

Modified:
   labs/jbossesb/trunk/product/core/rosetta/src/org/jboss/internal/soa/esb/couriers/helpers/FtpFileHandler.java
Log:
Patch for rename in remote directory

Modified: labs/jbossesb/trunk/product/core/rosetta/src/org/jboss/internal/soa/esb/couriers/helpers/FtpFileHandler.java
===================================================================
--- labs/jbossesb/trunk/product/core/rosetta/src/org/jboss/internal/soa/esb/couriers/helpers/FtpFileHandler.java	2007-01-07 14:05:25 UTC (rev 8748)
+++ labs/jbossesb/trunk/product/core/rosetta/src/org/jboss/internal/soa/esb/couriers/helpers/FtpFileHandler.java	2007-01-07 17:04:30 UTC (rev 8749)
@@ -218,12 +218,13 @@
 		try
 		{
 			getHandler().remoteRename(from, to);
+			return true;
 		}
 		catch (Exception e)
 		{
-			throw new CourierException(e);
+			return false;
+//			throw new CourierException(e);
 		}
-		return true;
 	}
 
 	// Because ftp connections are volatile, we are always getting a fresh




More information about the jboss-svn-commits mailing list