You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by bv...@apache.org on 2012/08/21 11:15:39 UTC

svn commit: r1375439 - in /camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote: FtpServerTestSupport.java FtpsServerTestSupport.java sftp/SftpServerTestSupport.java

Author: bvahdat
Date: Tue Aug 21 09:15:38 2012
New Revision: 1375439

URL: http://svn.apache.org/viewvc?rev=1375439&view=rev
Log:
Corrected the slf4j placeholder format.

Modified:
    camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpServerTestSupport.java
    camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpsServerTestSupport.java
    camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpServerTestSupport.java

Modified: camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpServerTestSupport.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpServerTestSupport.java?rev=1375439&r1=1375438&r2=1375439&view=diff
==============================================================================
--- camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpServerTestSupport.java (original)
+++ camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpServerTestSupport.java Tue Aug 21 09:15:38 2012
@@ -72,7 +72,7 @@ public abstract class FtpServerTestSuppo
                 String name = System.getProperty("os.name");
                 String message = nsae.getMessage();
                 System.out.println("SunX509 is not avail on this platform [" + name + "] Testing is skipped! Real cause: " + message);
-                log.warn("SunX509 is not avail on this platform [{0}] Testing is skipped! Real cause: {1}", name, message);
+                log.warn("SunX509 is not avail on this platform [{}] Testing is skipped! Real cause: {}", name, message);
             } else {
                 // some other error then throw it so the test can fail
                 throw e;

Modified: camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpsServerTestSupport.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpsServerTestSupport.java?rev=1375439&r1=1375438&r2=1375439&view=diff
==============================================================================
--- camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpsServerTestSupport.java (original)
+++ camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpsServerTestSupport.java Tue Aug 21 09:15:38 2012
@@ -49,7 +49,7 @@ public abstract class FtpsServerTestSupp
                 String name = System.getProperty("os.name");
                 String message = nsae.getMessage();
                 System.out.println("SunX509 is not avail on this platform [" + name + "] Testing is skipped! Real cause: " + message);
-                log.warn("SunX509 is not avail on this platform [{0}] Testing is skipped! Real cause: {1}", name, message);
+                log.warn("SunX509 is not avail on this platform [{}] Testing is skipped! Real cause: {}", name, message);
                 
                 return null;
             } else {

Modified: camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpServerTestSupport.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpServerTestSupport.java?rev=1375439&r1=1375438&r2=1375439&view=diff
==============================================================================
--- camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpServerTestSupport.java (original)
+++ camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpServerTestSupport.java Tue Aug 21 09:15:38 2012
@@ -65,7 +65,7 @@ public class SftpServerTestSupport exten
                 String name = System.getProperty("os.name");
                 String message = nsae.getMessage();
                 System.out.println("SunX509 is not avail on this platform [" + name + "] Testing is skipped! Real cause: " + message);
-                log.warn("SunX509 is not avail on this platform [{0}] Testing is skipped! Real cause: {1}", name, message);
+                log.warn("SunX509 is not avail on this platform [{}] Testing is skipped! Real cause: {}", name, message);
             } else {
                 // some other error then throw it so the test can fail
                 throw e;