Skip to content

Commit

Permalink
Merge pull request #1489 from TranceLove/bugfix/issue1488
Browse files Browse the repository at this point in the history
HybridFile: Add back calling HybridFile(mode, path) constructor
  • Loading branch information
EmmanuelMess committed Nov 2, 2018
1 parent fd9147d commit cfeed83
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public HybridFile(OpenMode mode, String path) {
}

public HybridFile(OpenMode mode, String path, String name, boolean isDirectory) {
this.mode = mode;
this(mode, path);
if (path.startsWith("smb://") || isSmb()) {
if (!isDirectory) this.path += name;
else if (!name.endsWith("/")) this.path += name + "/";
Expand Down

0 comments on commit cfeed83

Please sign in to comment.