1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-07 09:46:02 +02:00

Warning cleanup.

This commit is contained in:
Mikhail Khodjaiants 2004-08-05 20:04:48 +00:00
parent c33f0a9a16
commit ea1e4af9af
3 changed files with 10 additions and 3 deletions

View file

@ -1,3 +1,8 @@
2004-08-05 Mikhail Khodjaiants
Warning cleanup.
* CSharedLibraryManager.java
* CUpdateManager.java
2004-08-05 Mikhail Khodjaiants 2004-08-05 Mikhail Khodjaiants
Display the error message in the array label, if the attempt to get array values fails. Display the error message in the array label, if the attempt to get array values fails.
* CArrayPartition.java * CArrayPartition.java

View file

@ -21,6 +21,7 @@ import org.eclipse.cdt.debug.core.cdi.ICDIManager;
import org.eclipse.cdt.debug.core.cdi.ICDISharedLibraryManager; import org.eclipse.cdt.debug.core.cdi.ICDISharedLibraryManager;
import org.eclipse.cdt.debug.core.cdi.model.ICDISharedLibrary; import org.eclipse.cdt.debug.core.cdi.model.ICDISharedLibrary;
import org.eclipse.cdt.debug.core.model.ICSharedLibrary; import org.eclipse.cdt.debug.core.model.ICSharedLibrary;
import org.eclipse.cdt.debug.internal.core.model.CDebugElement;
import org.eclipse.cdt.debug.internal.core.model.CDebugTarget; import org.eclipse.cdt.debug.internal.core.model.CDebugTarget;
import org.eclipse.cdt.debug.internal.core.model.CSharedLibrary; import org.eclipse.cdt.debug.internal.core.model.CSharedLibrary;
import org.eclipse.debug.core.DebugEvent; import org.eclipse.debug.core.DebugEvent;
@ -168,7 +169,7 @@ public class CSharedLibraryManager extends CUpdateManager implements ICSharedLib
} }
catch( CDIException e ) catch( CDIException e )
{ {
getDebugTarget().targetRequestFailed( e.getMessage(), null ); CDebugElement.targetRequestFailed( e.getMessage(), null );
} }
} }
} }
@ -187,7 +188,7 @@ public class CSharedLibraryManager extends CUpdateManager implements ICSharedLib
} }
catch( CDIException e ) catch( CDIException e )
{ {
getDebugTarget().targetRequestFailed( e.getMessage(), null ); CDebugElement.targetRequestFailed( e.getMessage(), null );
} }
} }
} }

View file

@ -16,6 +16,7 @@ import org.eclipse.cdt.debug.core.ICUpdateManager;
import org.eclipse.cdt.debug.core.cdi.CDIException; import org.eclipse.cdt.debug.core.cdi.CDIException;
import org.eclipse.cdt.debug.core.cdi.ICDIManager; import org.eclipse.cdt.debug.core.cdi.ICDIManager;
import org.eclipse.cdt.debug.core.model.ICDebugTarget; import org.eclipse.cdt.debug.core.model.ICDebugTarget;
import org.eclipse.cdt.debug.internal.core.model.CDebugElement;
import org.eclipse.cdt.debug.internal.core.model.CDebugTarget; import org.eclipse.cdt.debug.internal.core.model.CDebugTarget;
import org.eclipse.core.runtime.IAdaptable; import org.eclipse.core.runtime.IAdaptable;
import org.eclipse.debug.core.DebugException; import org.eclipse.debug.core.DebugException;
@ -77,7 +78,7 @@ public abstract class CUpdateManager extends Observable implements ICUpdateManag
} }
catch( CDIException e ) catch( CDIException e )
{ {
getDebugTarget().targetRequestFailed( e.getMessage(), null ); CDebugElement.targetRequestFailed( e.getMessage(), null );
} }
} }
} }