Skip to content

Commit

Permalink
Refresh with one depth when calling JDTUtils.getFileOrFolder()
Browse files Browse the repository at this point in the history
Signed-off-by: Sheng Chen <[email protected]>
  • Loading branch information
jdneo authored and fbricon committed Oct 14, 2019
1 parent fbcfa6b commit fca6b01
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -891,7 +891,7 @@ public static IResource getFileOrFolder(String uriString) {
return file;
}
try {
parent.refreshLocal(DEPTH_ZERO, null);
parent.refreshLocal(DEPTH_ONE, null);
} catch (CoreException e) {
// Ignore
}
Expand Down

0 comments on commit fca6b01

Please sign in to comment.