mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-25 09:55:29 +02:00
bug 285350: split statement to troubleshoot NPE
This commit is contained in:
parent
bf3078242e
commit
232e65ec58
1 changed files with 2 additions and 1 deletions
|
@ -4099,7 +4099,8 @@ public class ManagedBuildManager extends AbstractCExtension {
|
|||
}
|
||||
|
||||
private static IPath getPathForResource(IResource resource) {
|
||||
return new Path(resource.getLocationURI().getPath());
|
||||
URI uri = resource.getLocationURI();
|
||||
return new Path(uri.getPath());
|
||||
}
|
||||
|
||||
public static IBuilder[] createBuilders(IProject project, Map args){
|
||||
|
|
Loading…
Add table
Reference in a new issue