Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
dkocher committed Nov 6, 2007
1 parent 04e474d commit 5efa953
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions source/ch/cyberduck/core/Local.java
Expand Up @@ -207,15 +207,15 @@ private static boolean jni_load() {
protected File _impl;

public Local(Local parent, String name) {
// See trac #933
this.setPath(NSPathUtilities.stringByExpandingTildeInPath(parent.getAbsolute()),
name.replace('/', ':'));
this(parent.getAbsolute(), name);
}

public Local(String parent, String name) {
if(!Path.DELIMITER.equals(name)) {
name = name.replace('/', ':');
}
// See trac #933
this.setPath(NSPathUtilities.stringByExpandingTildeInPath(parent),
name.replace('/', ':'));
this.setPath(NSPathUtilities.stringByExpandingTildeInPath(parent), name);
}

public Local(String path) {
Expand Down

0 comments on commit 5efa953

Please sign in to comment.