mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 22:52:11 +02:00
use getResource() instead of getUnderlyingResource()
This commit is contained in:
parent
60f77885af
commit
94e2d67e88
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ public class CElementAdapterFactory implements IAdapterFactory {
|
|||
if (res != null)
|
||||
return res.getWorkspace().getRoot();
|
||||
} else if (IProject.class.equals(key)) {
|
||||
res = celem.getUnderlyingResource();
|
||||
res = celem.getResource();
|
||||
if (res != null)
|
||||
return res.getProject();
|
||||
} else if (IResource.class.equals(key)) {
|
||||
|
|
Loading…
Add table
Reference in a new issue