Skip to content

Commit

Permalink
Fix #5267. The comparison failed on Windows because of a custom Outli…
Browse files Browse the repository at this point in the history
…nePathReference comparator implementation that includes the attributes of a file to test for equivalence.
  • Loading branch information
dkocher committed Oct 4, 2010
1 parent 82d8776 commit de73e6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/ch/cyberduck/core/cf/CFPath.java
Expand Up @@ -190,7 +190,7 @@ public AttributedList<Path> list() {
for(FilesObject object : this.getSession().getClient().listObjects(this.getContainerName(), this.getKey(), -1, null)) {
final Path file = PathFactory.createPath(this.getSession(), this.getContainerName(), object.getName(),
"application/directory".equals(object.getMimeType()) ? Path.DIRECTORY_TYPE : Path.FILE_TYPE);
if(file.getParent().equals(this)) {
if(file.getParent().getAbsolute().equals(this.getAbsolute())) {
file.setParent(this);
if(file.attributes().getType() == Path.FILE_TYPE) {
file.attributes().setSize(object.getSize());
Expand Down

0 comments on commit de73e6d

Please sign in to comment.