Skip to content

Commit

Permalink
Fix #557.
Browse files Browse the repository at this point in the history
  • Loading branch information
dkocher committed Sep 18, 2010
1 parent c289761 commit 4c830d5
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions source/ch/cyberduck/core/SyncTransfer.java
Original file line number Diff line number Diff line change
Expand Up @@ -409,11 +409,8 @@ public String toString() {
*/
public Comparison compare(Path p) {
log.debug("compare:" + p);
Comparison result = COMPARISON_EQUAL;
if(p.getLocal().exists() && p.exists()) {
if(p.attributes().isFile()) {
return this.compareTimestamp(p);
}
return this.compareTimestamp(p);
}
else if(p.exists()) {
// Only the remote file exists
Expand Down

0 comments on commit 4c830d5

Please sign in to comment.