Skip to content

Commit

Permalink
In FolderStub, getFolder returns a handle, thus the resource doesn't …
Browse files Browse the repository at this point in the history
…need to exist.
  • Loading branch information
fabioz committed Sep 1, 2024
1 parent 361a15c commit 324c50c
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,9 @@ public IFolder getFolder(IPath path) {
for (String s : segments) {
f = new File(f, s);
}
return new FolderStub(project, f);
// At this point it doesn't need to exist!
boolean mustExist = false;
return new FolderStub(project, null, f, mustExist);
}

@Override
Expand Down

0 comments on commit 324c50c

Please sign in to comment.