Author: bfoster
Date: Mon Apr 7 09:00:52 2014
New Revision: 1585432
URL: http://svn.apache.org/r1585432
Log:
- Fixed equals call
Modified:
oodt/trunk/pushpull/src/main/java/org/apache/oodt/cas/pushpull/protocol/ProtocolHandler.java
Modified:
oodt/trunk/pushpull/src/main/java/org/apache/oodt/cas/pushpull/protocol/ProtocolHandler.java
URL:
http://svn.apache.org/viewvc/oodt/trunk/pushpull/src/main/java/org/apache/oodt/cas/pushpull/protocol/ProtocolHandler.java?rev=1585432&r1=1585431&r2=1585432&view=diff
==============================================================================
---
oodt/trunk/pushpull/src/main/java/org/apache/oodt/cas/pushpull/protocol/ProtocolHandler.java
(original)
+++
oodt/trunk/pushpull/src/main/java/org/apache/oodt/cas/pushpull/protocol/ProtocolHandler.java
Mon Apr 7 09:00:52 2014
@@ -355,7 +355,7 @@ public class ProtocolHandler {
else
this.cdToROOT(protocol);
this.cdToHOME(protocol);
- if (home == null || !home.equals(protocol.pwd()))
+ if (home == null || !home.equals(this.pwd(remoteSite, protocol)))
throw new ProtocolException("Home directory not the same after cd");
} catch (Exception e) {
LOG.log(Level.SEVERE, "Protocol "