1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Use CoreModel.getDefault()

This commit is contained in:
Alain Magloire 2002-11-27 04:48:43 +00:00
parent 3d861af0c2
commit 0e5d20731a

View file

@ -1992,7 +1992,7 @@ public class CDebugTarget extends CDebugElement
*/
public boolean isLittleEndian()
{
if ( getExecFile() != null && CoreModel.isBinary( getExecFile() ) )
if ( getExecFile() != null && CoreModel.getDefault().isBinary( getExecFile() ) )
{
ICFile cFile = CCorePlugin.getDefault().getCoreModel().create( getExecFile() );
if ( cFile instanceof IBinary )
@ -2019,7 +2019,7 @@ public class CDebugTarget extends CDebugElement
public IGlobalVariable[] getGlobals()
{
ArrayList list = new ArrayList();
if ( getExecFile() != null && CoreModel.isBinary( getExecFile() ) )
if ( getExecFile() != null && CoreModel.getDefault().isBinary( getExecFile() ) )
{
ICFile cFile = CCorePlugin.getDefault().getCoreModel().create( getExecFile() );
if ( cFile instanceof IBinary )