You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by ma...@apache.org on 2009/09/25 23:53:46 UTC

svn commit: r819038 - in /ant/ivy/core/trunk: CHANGES.txt src/java/org/apache/ivy/plugins/repository/vsftp/VsftpRepository.java

Author: maartenc
Date: Fri Sep 25 21:53:45 2009
New Revision: 819038

URL: http://svn.apache.org/viewvc?rev=819038&view=rev
Log:
FIX: VstfpRepository.readResponse uses bad compare logic (IVY-1119) (thanks to Dave Brosius)

Modified:
    ant/ivy/core/trunk/CHANGES.txt
    ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/repository/vsftp/VsftpRepository.java

Modified: ant/ivy/core/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/CHANGES.txt?rev=819038&r1=819037&r2=819038&view=diff
==============================================================================
--- ant/ivy/core/trunk/CHANGES.txt (original)
+++ ant/ivy/core/trunk/CHANGES.txt Fri Sep 25 21:53:45 2009
@@ -20,6 +20,7 @@
 	Mikkel Bjerg
 	Jeffrey Blattman
 	Jim Bonanno
+    Dave Brosius
 	Matthieu Brouillard
 	Carlton Brown
 	Mirko Bulovic
@@ -91,6 +92,7 @@
 	
    trunk
 =====================================
+- FIX: VstfpRepository.readResponse uses bad compare logic (IVY-1119) (thanks to Dave Brosius)
 - FIX: URLResource does not properly support authentication (IVY-1106) (thanks to Heschi Kreinick)
 - FIX: Excessive hits to missing URLs uses up all ports on Windows (IVY-1105)
 - FIX: ivy parse exception when using <publications defaultconf> (IVY-1102)

Modified: ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/repository/vsftp/VsftpRepository.java
URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/repository/vsftp/VsftpRepository.java?rev=819038&r1=819037&r2=819038&view=diff
==============================================================================
--- ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/repository/vsftp/VsftpRepository.java (original)
+++ ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/repository/vsftp/VsftpRepository.java Fri Sep 25 21:53:45 2009
@@ -465,7 +465,7 @@
             }
             throw new IOException("connection timeout to " + getHost());
         } else {
-            if ("Not connected.".equals(response)) {
+            if ("Not connected.".equals(response.toString())) {
                 Message.info("vsftp connection to " + getHost() + " reset");
                 closeConnection();
                 throw new IOException("not connected to " + getHost());