Skip to content

Commit

Permalink
Update org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/M2EUtil…
Browse files Browse the repository at this point in the history
…s.java

Co-authored-by: Mickael Istria <[email protected]>
  • Loading branch information
rbioteau and mickaelistria authored Dec 8, 2023
1 parent 22cfa08 commit 84207b0
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,7 @@ public static void createFolder(IFolder folder, boolean derived, IProgressMonito
}
} catch(CoreException ex) {
//Don't fail if the resource already exists, in case of a race condition
int code = ex.getStatus().getCode();
if(code != IResourceStatus.RESOURCE_EXISTS && code != IResourceStatus.PATH_OCCUPIED) {
if (!folder.exists()) {
throw ex;
}
}
Expand Down

0 comments on commit 84207b0

Please sign in to comment.