1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-23 17:05:26 +02:00

Use getResource() instead of getUnderlyingResource()

This commit is contained in:
Alain Magloire 2003-01-10 18:38:47 +00:00
parent 18d581e6e5
commit 60a4b8b83a

View file

@ -78,7 +78,7 @@ public class CElementAdapterFactory implements IAdapterFactory {
if (res != null)
return res.getProject();
} else if (IResource.class.equals(key)) {
return celem.getUnderlyingResource();
return celem.getResource();
} else if (IWorkbenchAdapter.class.equals(key)) {
return fgCWorkbenchAdapter;
}